How to use proxy_protocol with nginx-proxy? #1621
Replies: 2 comments
-
No one using proxy protocol with nginx-proxy and can tell how this works? |
Beta Was this translation helpful? Give feedback.
-
There are no default support for proxy protocol in nignx-proxy. But you can do this by updating nginx.tmpl file and then mount this to nginx-proxy container. Following things need to be changed on nginx.tmpl file
to this
to this
to this
You can check sample nginx.tmpl file from this link Sample nginx.tmpl Also you can check the nginx official documentation Documentation |
Beta Was this translation helpful? Give feedback.
-
Is is possible to enable nginx proxy_protocol with nginx-proxy? If yes, how (config files, env variables, etc)?
There is a TCP load balancer in front of my nginx-proxy and I would like to know the original IP of the request.
I didn't find any information in the readme, previous issues or via web search.
Beta Was this translation helpful? Give feedback.
All reactions