mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 23:29:08 +01:00
Move radicale from vps-public to vps-private
This commit is contained in:
parent
acee101cbc
commit
dc8d96cae8
2 changed files with 7 additions and 14 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ config, self, ... }:
|
||||
{ self, ... }:
|
||||
{
|
||||
imports = [ self.nixosModules.server-profile ];
|
||||
|
||||
|
|
@ -21,13 +21,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
services.caddy.virtualHosts."dav.${sproutedDomain}" = {
|
||||
inherit (config.custom.web-services.radicale) port;
|
||||
extraConfig = ''
|
||||
respond /.web/ "Access denied" 403 { close }
|
||||
'';
|
||||
};
|
||||
|
||||
web-services =
|
||||
let
|
||||
sstorkDomain = "sstork.dev";
|
||||
|
|
@ -70,12 +63,6 @@
|
|||
enable = true;
|
||||
domain = "mirror.${sproutedDomain}";
|
||||
};
|
||||
|
||||
radicale = {
|
||||
enable = true;
|
||||
domain = "dav.${config.custom.networking.overlay.domain}";
|
||||
doBackups = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue