diff options
-rw-r--r-- | system/services/etebase/default.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/system/services/etebase/default.nix b/system/services/etebase/default.nix index 4cf2cc0..5fb6b6a 100644 --- a/system/services/etebase/default.nix +++ b/system/services/etebase/default.nix @@ -14,10 +14,12 @@ recommendedOptimisation = true; recommendedGzipSettings = true; recommendedProxySettings = true; + virtualHosts = { - "dav.vhack.eu" = { + "etebase.vhack.eu" = { enableACME = true; forceSSL = true; + locations."/" = { proxyPass = "http://127.0.0.1:8001"; extraConfig = '' @@ -27,6 +29,9 @@ proxy_set_header X-Forwarded-Host $server_name; ''; }; + serverAliases = [ + "dav.vhack.eu" + ]; }; }; }; |