Actions
Project activity #34491
openIk wil graag APP_CONFIG_GZAC_HOST weghalen uit de ENV gezien het verwarrend is tov PROXY_GZAC_URL
Start date:
11/08/2025
Due date:
% Done:
0%
Estimated time:
Description
In de Docker variant kennen we 2 GZAC variablen:
- PROXY_GZAC_URL (NGINX config) --> verwijst naar de GZAC Backend (interne)
location /gzac/ { proxy_pass PROXY_GZAC_URL; proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504; proxy_redirect off; proxy_buffering off; # proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_pass_header Set-Cookie; proxy_http_version 1.1; }
- APP_CONFIG_GZAC_HOST (Entrypoint.sh)--> verwijst naar gzacHost (app.config.json)
if [ -n "${APP_CONFIG_GZAC_HOST}" ];then replace="\/" encoded=${APP_CONFIG_GZAC_HOST//\//$replace} sed -e "s/\"gzacHost\": \".*\"/\"gzacHost\": \"${encoded}\"/g" \ -i /tmp/app.config.json && \ cat /tmp/app.config.json > ./app.config.json fi
"gzacHost": "{protocol}//{hostname}{:port}/tezza/gzac", "providers": "ECM",
/gzac
- Draait Tezza op localhost dan is gzacHost altijd localhost/gzac
- Draait Tezza op localhost/tezza dan is gzacHost altijd localhost/tezza/gzac
- Hierom kun je gzacHost altijd hardcode op
/gzac
zetten vanuit de context vanuit de applicatie
Updated by Diego Mirandola 22 minutes ago
- Status changed from Backlog to In Progress
Updated by Diego Mirandola 22 minutes ago
- Target version changed from Tezza Backlog to Tezza 2025.08
Actions