How to enable proxy protocol on nginx ingress

Using the proxy protocol, I send the traffic to ports 443 and 80 to the rancher with an external nginx. But I couldn’t find how to activate the proxy-protocol in nginx-ingress running on rancher. I have to activate the proxy protocol in order to get real ip. Thanks.

1 Like