blumeops/fly
Erich Blume f13bd7fca6 Log real client IPs via Fly-Client-IP header in proxy access logs
The Fly.io edge proxy forwards the original client IP in the
Fly-Client-IP header. Add this as a `client_ip` field in the nginx
JSON log format and extract it in the Alloy pipeline so Loki/Grafana
show real visitor IPs instead of the internal proxy address
(172.16.11.178).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 10:59:23 -08:00
..
alloy.river Log real client IPs via Fly-Client-IP header in proxy access logs 2026-02-09 10:59:23 -08:00
Dockerfile Add Fly.io proxy observability via embedded Alloy (#123) 2026-02-08 10:05:38 -08:00
fly.toml Add Fly.io public reverse proxy for docs.eblu.me (#120) 2026-02-08 02:36:19 -08:00
nginx.conf Log real client IPs via Fly-Client-IP header in proxy access logs 2026-02-09 10:59:23 -08:00
start.sh Fix fly-deploy WARNING by starting nginx before Tailscale (#128) 2026-02-09 07:01:58 -08:00