about summary refs log tree commit diff
path: root/ops/modules/www/auth.tvl.fyi.nix
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-10-03T08·08+0300
committerclbot <clbot@tvl.fyi>2022-10-03T17·42+0000
commitb9bfcf2f336b2276d391e75fb04e81bcbad3f692 (patch)
treee02dc2cedf765bbc6210e69828aba244f1feb85a /ops/modules/www/auth.tvl.fyi.nix
parent0537d88078bcc547e8459463c581dfdb4bef2f81 (diff)
fix(ops/www): fix port templating for keycloak r/5025
Change-Id: I714b12f996d7dbe705f1f553d449f2dbc4910b1e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6848
Reviewed-by: sterni <sternenseemann@systemli.org>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Diffstat (limited to 'ops/modules/www/auth.tvl.fyi.nix')
-rw-r--r--ops/modules/www/auth.tvl.fyi.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/ops/modules/www/auth.tvl.fyi.nix b/ops/modules/www/auth.tvl.fyi.nix
index e0c031bf700c..821cb59a0aa5 100644
--- a/ops/modules/www/auth.tvl.fyi.nix
+++ b/ops/modules/www/auth.tvl.fyi.nix
@@ -13,7 +13,7 @@
 
       extraConfig = ''
         location / {
-          proxy_pass http://localhost:${config.services.keycloak.httpPort};
+          proxy_pass http://localhost:${toString config.services.keycloak.settings.http-port};
           proxy_set_header X-Forwarded-For $remote_addr;
           proxy_set_header X-Forwarded-Proto https;
           proxy_set_header Host $host;