Malin revisou este gist . Ir para a revisão
1 file changed, 4 insertions
proxy-protocol-nginx.conf(arquivo criado)
@@ -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; |
Próximo
Anterior