diff --git a/examples/nginx-php/nginx.conf b/examples/nginx-php/nginx.conf index 99be06c..fc3ff4f 100644 --- a/examples/nginx-php/nginx.conf +++ b/examples/nginx-php/nginx.conf @@ -10,7 +10,8 @@ server { #set_real_ip_from 172.16.0.0/12; #set_real_ip_from 192.168.0.0/16; #set_real_ip_from 10.0.0.0/8; - real_ip_header X-Forwarded-For; + #real_ip_header X-Forwarded-For; + #real_ip_header X-Real-IP; proxy_hide_header X-Powered-By; access_log /var/log/nginx/access.log;