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 for PROXY PROTOCOL #15

Closed
deba12 opened this issue Jan 11, 2017 · 4 comments
Closed

Support for PROXY PROTOCOL #15

deba12 opened this issue Jan 11, 2017 · 4 comments

Comments

@deba12
Copy link
Contributor

deba12 commented Jan 11, 2017

In my quest to place nginx infront of sstpd
i found one huge limitation: can't get user ip address due to proxy.
Please add support (with configuration switch)
for PROXY PROTOCOL
http://www.haproxy.org/download/1.5/doc/proxy-protocol.txt
I am not sure which version nginx supports so please add both of them.

@sorz
Copy link
Owner

sorz commented Jan 19, 2017

Support PROXY PROTOCOL under no-ssl mode should be easy.
But I don't how to implement it over TLS yet.

@deba12
Copy link
Contributor Author

deba12 commented Jan 19, 2017

Implement it with no-ssl and mention it in the readme :)
It have to work with nginx.

@sorz
Copy link
Owner

sorz commented Jan 19, 2017

BTW, nginx/1.11.8 use PP1.
PP2 was tested with haproxy.

@deba12
Copy link
Contributor Author

deba12 commented Jan 19, 2017

Great to hear it :)
I will try it later today

Thanks

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