From 1493e3ec452c131fc98d38aa2bc97a47c650ffd9 Mon Sep 17 00:00:00 2001 From: Soispha Date: Sat, 18 Nov 2023 19:43:44 +0100 Subject: fix(system/services/etebase): Use the correct subdomains This is done to comply with the naming scheme employed at `vhack.eu`. --- system/services/etebase/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'system/services/etebase') 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" + ]; }; }; }; -- cgit 1.4.1