Skip to content

requestlog: log X-Forwarded-For client IP - #42

Merged
Fizzadar merged 1 commit into
mainfrom
nick/log-forwarded-for
Oct 6, 2026
Merged

Fizzadar merged 1 commit into
mainfrom
nick/log-forwarded-for

Conversation

@Fizzadar

@Fizzadar Fizzadar commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Logs the first X-Forwarded-For entry as x_forwarded_for next to remote_addr, matching go-util's requestlog field. Services behind a proxy, like hungryserv behind edgeserv, can then log the real client IP.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Fizzadar
Fizzadar merged commit 0a8dd91 into main Oct 6, 2026
1 of 4 checks passed
@Fizzadar
Fizzadar deleted the nick/log-forwarded-for branch October 6, 2026 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant