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

Send common proxy headers to services #2237

Open
jvstme opened this issue Jan 28, 2025 · 0 comments
Open

Send common proxy headers to services #2237

jvstme opened this issue Jan 28, 2025 · 0 comments
Labels
enhancement A non-feature improvement

Comments

@jvstme
Copy link
Collaborator

jvstme commented Jan 28, 2025

Problem

Some services may need to know the IP address of the end user or the entire proxy chain. This can be achieved by having the reverse proxy set special headers when forwarding requests. Currently, the gateway only sets X-Real-IP and the in-server proxy doesn't set anything.

Solution

In both the gateway and the in-server proxy, set all common proxy headers: X-Real-IP, X-Forwarded-For, Forwarded.

Workaround

No response

Would you like to help us implement this feature by sending a PR?

Yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A non-feature improvement
Projects
None yet
Development

No branches or pull requests

1 participant