Skip to content

Get client IP from behind reverse proxy - #1

Merged
ahze merged 1 commit into
daemonless:mainfrom
magnetic6:main
Oct 20, 2026
Merged

ahze merged 1 commit into
daemonless:mainfrom
magnetic6:main

Conversation

@magnetic6

Copy link
Copy Markdown
Contributor

This nginx configuration change exposes the actual client IP address to the hosted app and logs when the container is operated behind a reverse proxy. Maintainer may wish to change the default allowed subnets to fit their preferences.

I tested this change in the container.

@ahze

ahze commented Oct 20, 2026

Copy link
Copy Markdown
Member

Hi, so sorry I'm just seeing this! the email notification for this went to my spam folder and I missed it.

LGTM

@ahze
ahze merged commit 194f4de into daemonless:main Oct 20, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants