Closed felixbuenemann closed 8 years ago
Thanks for the contribution! Please ensure your commits follow our style guide. This code will be tested once a Deis maintainer reviews it.
@krancour, @kmala and @robholland are potential reviewers of this pull request based on my analysis of git blame
information. Thanks @felixbuenemann!
@@ master #263 diff @@
==========================================
Files 3 3
Lines 306 306
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
Hits 142 142
Misses 160 160
Partials 4 4
Powered by Codecov. Last update 5a6b004...a729799
Jenkins, add to whitelist.
If proxy protocol is enabled on an AWS ELB in kubernetes using the
service.beta.kubernetes.io/aws-load-balancer-proxy-protocol: '*'
annotation on the load balancer service, it will enable PROXY PROTOCOL on all ports forwarded by the ELB, which means the builder proxy on port 2222 also needs to useproxy_protocol
on itslisten
directive.There is currently no way to configure PROXY PROTOCOL per port on AWS using kubenetes service annotation and it doesn't really make sense to enable proxy protocol only for port 80 and 443 anyways, so this fix uses the same configuration setting as is used for http and https.
The required
proxy_protocol
option for thelisten
directive was added in NGINX 1.11.4.This fixes #255.