Compare commits
base: eho:fix/portal-nginx-resolver
eho:main
eho:fix/portal-nginx-resolver
eho:fix/local-eventsubscriber-acl
eho:feat/12-withdrawal-portal
eho:fix/91-local-compose-parity
eho:feat/12-withdrawal-bff
eho:feat/12-withdrawal-workflow
eho:feat/12-withdrawal
eho:feat/13-behandel-portal
eho:feat/13-behandel-decide
eho:feat/13-behandel-bff-auth-werkbak
eho:feat/13-workflow-user-tasks
eho:feat/13-behandel-decision-model
eho:chore/release-2026.07.0
eho:feat/78-reference-correlation
eho:feat/75-approval-flow
eho:feat/10-openbaar-portal
eho:chore/73-ci-speedups
eho:feat/68-e2e
eho:feat/67-self-service-form
eho:feat/66-api-client
eho:feat/65-nx-workspace
eho:feat/8-bff
eho:feat/6-domain-service
eho:feat/7-event-subscriber-projection
eho:feat/56-nrc-notification-wiring
eho:test/46-acl-openzaak-integration
eho:feat/47-acl-mutation-baseline
eho:ci/30-gitea-actions-ci
eho:feat/5-acl-open-zaak
eho:feat/4-flowable
eho:feat/3-keycloak
eho:feat/2-opennotificaties
eho:feat/2-catalogus-seed
eho:feat/10-openzaak-compose
eho:feat/32-docs-scaffold
eho:feat/31-contributor-workflow
eho:feat/30-gitea-actions-ci
eho:feat/29-bff-docker-compose
eho:chore/remove-bootstrap-scripts
eho:feat/28-bff-health
eho:docs/split-s00
..
compare: eho:main
eho:main
eho:fix/portal-nginx-resolver
eho:fix/local-eventsubscriber-acl
eho:feat/12-withdrawal-portal
eho:fix/91-local-compose-parity
eho:feat/12-withdrawal-bff
eho:feat/12-withdrawal-workflow
eho:feat/12-withdrawal
eho:feat/13-behandel-portal
eho:feat/13-behandel-decide
eho:feat/13-behandel-bff-auth-werkbak
eho:feat/13-workflow-user-tasks
eho:feat/13-behandel-decision-model
eho:chore/release-2026.07.0
eho:feat/78-reference-correlation
eho:feat/75-approval-flow
eho:feat/10-openbaar-portal
eho:chore/73-ci-speedups
eho:feat/68-e2e
eho:feat/67-self-service-form
eho:feat/66-api-client
eho:feat/65-nx-workspace
eho:feat/8-bff
eho:feat/6-domain-service
eho:feat/7-event-subscriber-projection
eho:feat/56-nrc-notification-wiring
eho:test/46-acl-openzaak-integration
eho:feat/47-acl-mutation-baseline
eho:ci/30-gitea-actions-ci
eho:feat/5-acl-open-zaak
eho:feat/4-flowable
eho:feat/3-keycloak
eho:feat/2-opennotificaties
eho:feat/2-catalogus-seed
eho:feat/10-openzaak-compose
eho:feat/32-docs-scaffold
eho:feat/31-contributor-workflow
eho:feat/30-gitea-actions-ci
eho:feat/29-bff-docker-compose
eho:chore/remove-bootstrap-scripts
eho:feat/28-bff-health
eho:docs/split-s00
1 Commits
fix/portal
...
main
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
| 8a537edd6c |
fix(infra): engine-portable portal nginx resolver (closes #96) (#97)
All checks were successful
## What & why Closes #96. The portal nginx configs hardcode `resolver 127.0.0.11` (Docker's embedded DNS) for their variable `proxy_pass` to the BFF, so on rootless **podman** (network-specific aardvark DNS) every proxied call 502'd — the portals loaded and login worked, but no in-app data flowed. Add a shared `/docker-entrypoint.d` hook (`apps/portal-nginx-resolver.sh`, wired into all three portal Dockerfiles) that rewrites the resolver from the container's own `/etc/resolv.conf` at startup: a **no-op on Docker** (nameserver *is* 127.0.0.11) and **correct on podman** (rewrites to e.g. 10.89.0.1). nginx.conf is unchanged (the hardcoded value is the substitution anchor). ## How verified Built the behandel image and ran it on the compose network under podman: the hook rewrote the config to `resolver 10.89.0.1`, and `GET /behandel/werkbak` proxied to the BFF returning **401** (auth), not 502. On Docker the nameserver is 127.0.0.11 so the substitution is a no-op and CI/e2e behaviour is unchanged. Reviewed-on: #97 |