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

Support HAProxy's Proxy Protocol #32124

Closed
OOTS opened this issue Mar 24, 2023 · 0 comments · Fixed by #35470
Closed

Support HAProxy's Proxy Protocol #32124

OOTS opened this issue Mar 24, 2023 · 0 comments · Fixed by #35470
Assignees
Labels
area/vertx kind/enhancement New feature or request
Milestone

Comments

@OOTS
Copy link

OOTS commented Mar 24, 2023

Description

Support HAProxy's PROXY Protocol. This is useful when having TLS enabled and running behind a reverse proxy or load balancer. It would achieve something similar like setting Forwarded or X-Forwarded-For HTTP headers, but can (unlike those headers) also be used without giving the SSL certificate to the reverse proxy (or load balancer).

This was already proposed in #4227, but that issue was closed (and I'm not able to reopen it).

Implementation ideas

Create a configuration (e.g. quarkus.http.proxy.proxy-protocol) option that allows users to enable the PROXY protocol on the listener. It could be a boolean (with a default value of false). Call VertX's HttpServerOptions.setUseProxyProtocol() with the value provided in the configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/vertx kind/enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants