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

add a x-forwarded-for header #26

Open
hannesm opened this issue Oct 24, 2024 · 2 comments
Open

add a x-forwarded-for header #26

hannesm opened this issue Oct 24, 2024 · 2 comments

Comments

@hannesm
Copy link
Contributor

hannesm commented Oct 24, 2024

from https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For, this is a de-factor standard for proxies.

it is pretty simple (well, would be if we'd be doing full HTTP): add a "X-Forwarded-For: " header. It may be simple enough to inject this header (similar to how we do the redirect).

@dinosaure
Copy link

I recently did this for contruno: dinosaure/contruno#31

@hannesm
Copy link
Contributor Author

hannesm commented Oct 24, 2024

Indeed, related (what you did) is the X-Forwarded-Proto header.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants