switch to baikal
This commit is contained in:
parent
6c5bbd5576
commit
96d15b02fe
3 changed files with 30 additions and 5 deletions
24
hosts/dav/baikal.nix
Normal file
24
hosts/dav/baikal.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
../../services/nginx.nix
|
||||
];
|
||||
|
||||
services = {
|
||||
baikal = {
|
||||
enable = true;
|
||||
virtualHost = "dav.${config.networking.domain}";
|
||||
};
|
||||
|
||||
nginx.virtualHosts."dav.${config.networking.domain}" = {
|
||||
default = true;
|
||||
quic = true;
|
||||
kTLS = true;
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/all.ics".root = "/srv/www/calendar";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Reference in a new issue