From f86874ef2092ffcd51089b1695cf8aeaa4fb2a0b Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Mon, 13 Nov 2023 22:52:21 -0500 Subject: Update radicale and set recommended headers This was leftover from work on the previous commit. I don't think its actually needed to get my stuff working, but these headers are recommended in the docs and the latest version supposedly has some relevant bug fixes, so I decided to commit this. - https://github.com/Kozea/Radicale/issues/838 - https://github.com/Kozea/Radicale/issues/954 - https://github.com/Kozea/Radicale/issues/1247 --- Biz/Cloud/Web.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Biz/Cloud') diff --git a/Biz/Cloud/Web.nix b/Biz/Cloud/Web.nix index 532c843..f97f6e0 100644 --- a/Biz/Cloud/Web.nix +++ b/Biz/Cloud/Web.nix @@ -164,6 +164,12 @@ in locations."/".proxyPass = "http://localhost:${toString ports.radicale}"; forceSSL = true; useACMEHost = rootDomain; + extraConfig = '' + proxy_set_header X-Script-Name /radicale; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header Host $host; + proxy_pass_header Authorization; + ''; }; "reddit.${rootDomain}" = { -- cgit v1.2.3