Malin revidoval tento gist . Přejít na revizi
1 file changed, 4 insertions
proxy-protocol-nginx.conf(vytvořil soubor)
| @@ -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; | |
Novější
Starší