From b9bfcf2f336b2276d391e75fb04e81bcbad3f692 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Mon, 3 Oct 2022 11:08:42 +0300 Subject: fix(ops/www): fix port templating for keycloak Change-Id: I714b12f996d7dbe705f1f553d449f2dbc4910b1e Reviewed-on: https://cl.tvl.fyi/c/depot/+/6848 Reviewed-by: sterni Autosubmit: tazjin Tested-by: BuildkiteCI --- ops/modules/www/auth.tvl.fyi.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ops/modules/www/auth.tvl.fyi.nix b/ops/modules/www/auth.tvl.fyi.nix index e0c031bf70..821cb59a0a 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; -- cgit 1.4.1