summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-11-18 19:44:57 +0100
committerSoispha <soispha@vhack.eu>2023-11-18 19:49:12 +0100
commit859fa8809cabeffebc7f4810454c89d8e1dde34e (patch)
treeeeddc1e9d2d1440d0884631b56204a7e8600f7c5
parentfix(system/services/etebase): Use the correct subdomains (diff)
downloadnixos-server-859fa8809cabeffebc7f4810454c89d8e1dde34e.tar.gz
nixos-server-859fa8809cabeffebc7f4810454c89d8e1dde34e.zip
refactor(system/services/etebase): Use a reference to the port number
-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 5fb6b6a..964ea59 100644
--- a/system/services/etebase/default.nix
+++ b/system/services/etebase/default.nix
@@ -21,7 +21,7 @@
         forceSSL = true;
 
         locations."/" = {
-          proxyPass = "http://127.0.0.1:8001";
+          proxyPass = "http://127.0.0.1:${builtins.toString config.services.etebase-server.port}";
           extraConfig = ''
             proxy_set_header Host $host;
             proxy_set_header X-Real-IP $remote_addr;