Files
web_server/docker-compose.yml
Adam French ee97ec9b23
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 38s
Pin app-network subnet to match trusted proxy CIDR
Gin's trusted proxies list is hardcoded to 172.28.0.0/16, but Docker was
assigning the bridge network whatever subnet was free, so c.ClientIP()
often returned nginx's container IP instead of the real client.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-11 00:43:29 +01:00

5.0 KiB