diff options
author | Soispha <soispha@vhack.eu> | 2023-11-18 19:44:57 +0100 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-11-18 19:49:12 +0100 |
commit | 859fa8809cabeffebc7f4810454c89d8e1dde34e (patch) | |
tree | eeddc1e9d2d1440d0884631b56204a7e8600f7c5 | |
parent | fix(system/services/etebase): Use the correct subdomains (diff) | |
download | nixos-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.nix | 2 |
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; |