Skip to content

feat: proxy headers, override host #49

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

Merged
merged 6 commits into from
Apr 14, 2025
Merged

feat: proxy headers, override host #49

merged 6 commits into from
Apr 14, 2025

Conversation

alukach
Copy link
Member

@alukach alukach commented Apr 13, 2025

Enable the configuring of whether or not the Proxy will override the host header, making the upstream API believe that the request was sent to the API (important if the upstream sits behind a reverse proxy like NGINX).

Additionally, ensure that common proxy headers are set.

closes #34

@alukach alukach changed the title Proxy headers feat: proxy headers, override host Apr 13, 2025
alukach added 4 commits April 13, 2025 09:23
- Introduced `OVERRIDE_HOST` to allow overriding the host header for the upstream API.
- Updated the application to utilize this new setting in the reverse proxy handler.
@alukach alukach merged commit 2961a48 into main Apr 14, 2025
2 checks passed
@alukach alukach deleted the feature/proxy-headers branch April 14, 2025 03:04
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.

Review proxy headers
1 participant