Malin revised this gist . Go to revision
1 file changed, 4 insertions
proxy-protocol-nginx.conf(file created)
@@ -0,0 +1,4 @@ | |||
1 | + | set_real_ip_from 104.16.0.0/12 | |
2 | + | set_real_ip_from 172.64.0.0/13 | |
3 | + | real_ip_header proxy_protocol; # proxy_protocol needed | |
4 | + | real_ip_recursive on; |
Newer
Older