You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think nginx can use the proxy protocol for inbound connections (useful if nginx has an upstream load balancer, like ELB) and it can also use the proxy protocol for connections to the backends.
My understanding is that if you put proxy_protocol on the listen line that configures the listener, wherease if you put it on its own line with proxy_protocol on that is for connections to downstreams (i.e. k8s pods).
I think nginx can use the proxy protocol for inbound connections (useful if nginx has an upstream load balancer, like ELB) and it can also use the proxy protocol for connections to the backends.
My understanding is that if you put
proxy_protocol
on thelisten
line that configures the listener, wherease if you put it on its own line withproxy_protocol on
that is for connections to downstreams (i.e. k8s pods).So I think this should be on the listener:
https://github.com/kubernetes/ingress/blob/80e718b5241515de2935e7028486e29a5f49fda7/controllers/nginx/rootfs/etc/nginx/template/nginx.tmpl#L438
The text was updated successfully, but these errors were encountered: