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

Configure headers to drop #567

Open
dkmiller opened this issue Jan 7, 2025 · 1 comment
Open

Configure headers to drop #567

dkmiller opened this issue Jan 7, 2025 · 1 comment

Comments

@dkmiller
Copy link

dkmiller commented Jan 7, 2025

Proposed change

At Airbnb, we have an internal deployment of configurable-http-proxy which sits behind our company-wide authentication proxy. The jupyter-rsession-proxy extension breaks with the x-forwarded-port header set by configurable-http-proxy; so we forcibly replace it with an empty string.

That breaks some other open source IDEs (e.g. Zeppelin) so I'm wondering if there's a way to configure configurable-http-proxy to not set the x-forwarded-port header at all, while passing all other existing x-forwarded-* headers through.

Alternative options

None that I'm aware of.

Who would use this feature?

Enterprises using configurable-http-proxy behind additional proxy layers.

(Optional): Suggest a solution

A CLI flag --drop-header that can be repeatedly set and causes those header key/value pairs to be dropped entirely.

@manics
Copy link
Member

manics commented Jan 7, 2025

Have you looked at Traefik Proxy? CHP is still supported, but Traefik Proxy is seeing a bit more development.

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

No branches or pull requests

2 participants