portfolio-page/backend/deploy
Sascha f50442a5c8 fix: reach audit services from a Dockerized reverse proxy (Caddy)
The actual VPS setup has no native nginx - Forgejo and Caddy run via
docker-compose, with Caddy terminating TLS for git.sascha-bach.de and
talk.sascha-bach.de. Caddy itself sits inside that Docker network, so
127.0.0.1 from its container's point of view is not this host - it
could not reach either the audit endpoint or the webhook listener.

Both services now optionally bind an additional address via
DOCKER_BRIDGE_HOST (the Docker bridge's gateway IP), alongside their
existing 127.0.0.1 listener. Deliberately not 0.0.0.0: on a VPS with a
public IP and no confirmed firewall, that would also accept connections
arriving on the public interface, bypassing the reverse proxy's TLS
termination entirely.

DEPLOYMENT.md now documents both the nginx and the Caddy-in-Docker
path side by side, since this is the configuration actually in use.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-29 18:43:08 +02:00
..
DEPLOYMENT.md fix: reach audit services from a Dockerized reverse proxy (Caddy) 2026-07-29 18:43:08 +02:00
audit-deploy-sudoers feat: implement auto-deploy webhook for audit endpoint 2026-07-29 17:57:21 +02:00
audit-endpoint.service feat: add free accessibility audit landing page (B2B) 2026-07-29 17:43:50 +02:00
audit-webhook.service feat: implement auto-deploy webhook for audit endpoint 2026-07-29 17:57:21 +02:00
nginx-api.sascha-bach.de.conf feat: enhance deployment documentation and nginx configuration for Gitea webhook handling 2026-07-29 18:20:39 +02:00