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

Pass along X-Forwarded-* headers #205

Merged
merged 1 commit into from
Jul 3, 2023
Merged

Pass along X-Forwarded-* headers #205

merged 1 commit into from
Jul 3, 2023

Conversation

geneccx
Copy link
Contributor

@geneccx geneccx commented Jul 3, 2023

These headers help the origin web server identify the original IP that the request came from.
Otherwise, the requests will all appear to come from the wefwef server, which can be problematic for moderation and rate-limiting.

Refs:

These headers help the origin web server identify the original IP that the request came from.

See: https://github.com/http-party/node-http-proxy#options
@aeharding
Copy link
Owner

Cheers!

@aeharding aeharding merged commit 1208f81 into aeharding:main Jul 3, 2023
@geneccx geneccx deleted the patch-1 branch July 3, 2023 05:14
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