From 859fa8809cabeffebc7f4810454c89d8e1dde34e Mon Sep 17 00:00:00 2001 From: Soispha Date: Sat, 18 Nov 2023 19:44:57 +0100 Subject: refactor(system/services/etebase): Use a reference to the port number --- system/services/etebase/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit 1.4.1