diff options
Diffstat (limited to 'system/services/etebase/default.nix')
-rw-r--r-- | system/services/etebase/default.nix | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/system/services/etebase/default.nix b/system/services/etebase/default.nix index 1b1a2f2..58d8b4b 100644 --- a/system/services/etebase/default.nix +++ b/system/services/etebase/default.nix @@ -18,7 +18,15 @@ "dav.vhack.eu" = { enableACME = true; forceSSL = true; - locations."/".proxyPass = "http://127.0.0.1:8001"; + locations."/" = { + proxyPass = "http://127.0.0.1:8001"; + extraConfig = '' + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Host $server_name; + ''; + }; }; }; }; |