-
Notifications
You must be signed in to change notification settings - Fork 62
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
Toggle PROXY protocol support on/off #70
base: master
Are you sure you want to change the base?
Conversation
@minorOffense PROXY protocol is already supported, we have been using something like this on hiera for ages:
IMHO adding that option makes the module less flexible |
It doesn't work if you use listen addr and port separately. You end up having to build the config string by hand (like in your example). The boolean just makes it more convenient and works with the other options independently. |
Maybe I'm wrong, but if the new parameter is set to true it applies to every item on |
Force yum to use this repo regardless
Allow correct reload script to run
Mergeupstream
Add an option for varnish to recognize the PROXY protocol. Allows a setup similar to https://feryn.eu/blog/varnish-4-1-haproxy-get-the-real-ip-by-leveraging-proxy-protocol-support/
This adds a boolean option which will add the ',PROXY' string to the end of the port definition.