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

howto enable PROXY protocol only for some backends #124

Open
shantanugadgil opened this issue Jan 26, 2018 · 2 comments
Open

howto enable PROXY protocol only for some backends #124

shantanugadgil opened this issue Jan 26, 2018 · 2 comments

Comments

@shantanugadgil
Copy link
Contributor

@thetechnick @yyyar @nickdoikov

I am using Gobetween 0.5.0 configured with SNI enabled.
I use Consul for discovery.
I have a single listener on 443 and many backends which are reached based on the SNI field.

Using this as reference: https://github.com/yyyar/gobetween/wiki/Proxy-Protocol

My understanding is that the PROXY protocol will get enabled for all backends for a single listener.

Is it possible via Consul discovery to have PROXY enabled only for a few backends and not all ?

This is similar to HAProxy's behavior where it can optionally append the directive send-proxy only to the required backends?

Regards,
Shantanu

@yyyar
Copy link
Owner

yyyar commented Apr 13, 2018

Hi @shantanugadgil
Yep currently is gets enabled for all backends. Enabling it only for a some backends with directive requires some coding :-) Do you still need this feature?

@shantanugadgil
Copy link
Contributor Author

Hi, yes, it would be a great enhancement to have it per service.
For now I am making do with PROXY disabled for all.

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

No branches or pull requests

2 participants