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> |
||
|---|---|---|
| .. | ||
| alloy.river | ||
| Dockerfile | ||
| fly.toml | ||
| nginx.conf | ||
| start.sh | ||