From ce831333a24011d0692f6871047fe74eab9fab8c Mon Sep 17 00:00:00 2001 From: "quentin@aristote.fr" Date: Sun, 29 Nov 2026 17:24:18 +0100 Subject: initial commit --- config/services/web/dav/default.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 config/services/web/dav/default.nix (limited to 'config/services/web/dav') diff --git a/config/services/web/dav/default.nix b/config/services/web/dav/default.nix new file mode 100644 index 0000000..06b9639 --- /dev/null +++ b/config/services/web/dav/default.nix @@ -0,0 +1,15 @@ +{ config, ... }: + +{ + services.nginx.virtualHosts.dav = { + serverName = "dav.${config.networking.domain}"; + enableACME = true; + forceSSL = true; + locations."/" = { + proxyPass = "http://localhost:5232/"; # default radicale host + extraConfig = '' + proxy_redirect default; + ''; + }; + }; +} -- cgit v1.3.1