fix(ops/www): fix port templating for keycloak

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
This commit is contained in:
Vincent Ambo 2022-10-03 11:08:42 +03:00 committed by clbot
parent 0537d88078
commit b9bfcf2f33

View file

@ -13,7 +13,7 @@
extraConfig = '' extraConfig = ''
location / { 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-For $remote_addr;
proxy_set_header X-Forwarded-Proto https; proxy_set_header X-Forwarded-Proto https;
proxy_set_header Host $host; proxy_set_header Host $host;