summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-11-18 19:43:44 +0100
committerSoispha <soispha@vhack.eu>2023-11-18 19:43:44 +0100
commit1493e3ec452c131fc98d38aa2bc97a47c650ffd9 (patch)
treef26fdcdf799e13f22b08908423a952711078f76e
parentfix(system/services/etebase): Hard-code localhost ip (diff)
downloadnixos-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`.
-rw-r--r--system/services/etebase/default.nix7
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"
+        ];
       };
     };
   };