diff options
author | Soispha <soispha@vhack.eu> | 2023-11-18 19:43:44 +0100 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-11-18 19:43:44 +0100 |
commit | 1493e3ec452c131fc98d38aa2bc97a47c650ffd9 (patch) | |
tree | f26fdcdf799e13f22b08908423a952711078f76e /system/services/etebase | |
parent | fix(system/services/etebase): Hard-code localhost ip (diff) | |
download | nixos-server-1493e3ec452c131fc98d38aa2bc97a47c650ffd9.tar.gz nixos-server-1493e3ec452c131fc98d38aa2bc97a47c650ffd9.zip |
fix(system/services/etebase): Use the correct subdomains
This is done to comply with the naming scheme employed at `vhack.eu`.
Diffstat (limited to '')
-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" + ]; }; }; }; |