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-through client request headers / set X-Forwarded for #66

Open
1 of 3 tasks
TO-koswald opened this issue Feb 23, 2024 · 0 comments
Open
1 of 3 tasks

Pass-through client request headers / set X-Forwarded for #66

TO-koswald opened this issue Feb 23, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@TO-koswald
Copy link

Describe the feature

There should be an option similiar to how it's done for the response headers in #44 to pass client request headers to the server.

Use case:

  • User-Agent / Client IP (X-FORWARED-FOR header)

Right now our main api receives User-Agent: node and the ip-address of the node server.

Right now to achieve this, we need to create a custom route and proxy them ourselves. We cannot set client: true ,because this would expose an Authorization header that we set.

Additional information

  • Would you be willing to help implement this feature?
  • Can you think of other implementations of this feature?

Final checks

@johannschopplich johannschopplich added enhancement New feature or request and removed pending triage labels Feb 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants