Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document how to obtain the real client IP #327

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mac-chaffee
Copy link

@mac-chaffee mac-chaffee commented Oct 27, 2024

Services running behind sish can access the client IP via X-Forwarded-For header, which is set here: https://github.com/antoniomika/oxy/blob/5924ea01c950a0c86c95ccb3f0cb90c38702f3a1/forward/rewrite.go#L23

The use-case for this is enforcing IP bans or IP allow-lists for services running behind sish.

Replaces this PR: picosh/docs#8

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