summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-11-18 19:42:37 +0100
committerSoispha <soispha@vhack.eu>2023-11-18 19:42:37 +0100
commitc7346412369298fb84dd9cc7951bc351617dbb7b (patch)
tree4d59e827c4020a10304d3fa61297eee42aab819c
parentFix(system/services/etebase): Add proxy parameters (diff)
downloadnixos-server-c7346412369298fb84dd9cc7951bc351617dbb7b.tar.gz
nixos-server-c7346412369298fb84dd9cc7951bc351617dbb7b.zip
fix(system/services/etebase): Hard-code localhost ip
Otherwise, etebase might use the ipv6 ip, whilst nginx uses the ipv4
version. This prevents this issue
-rw-r--r--system/services/etebase/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/services/etebase/default.nix b/system/services/etebase/default.nix
index 58d8b4b..4cf2cc0 100644
--- a/system/services/etebase/default.nix
+++ b/system/services/etebase/default.nix
@@ -4,7 +4,7 @@
     port = 8001;
     settings = {
       global.secret_file = "${config.age.secrets.etebase-server.path}";
-      allowed_hosts.allowed_host1 = "localhost";
+      allowed_hosts.allowed_host1 = "127.0.0.1";
     };
   };