try "fastcgi_hide_header X-Powered-By;" 2012/3/31 locojohn <nginx-forum@nginx.us> > In php.ini: > > expose_php = off > > Actually, you could do some googling before asking a question. > > Andrejs > > Posted at Nginx Forum: > http://forum.nginx.org/read.php?2,224706,224707#msg-224707 > > _______________________________________________ > ngiby 911csj@gmail.com - Nginx Mailing List - English
$remote_addr(OSI 3layer) and $http_x_forwarded_for(OSI 7layer) of these two variables is different. behind LB server may be you can use config like this. http { map $proxy_add_x_forwarded_for $xff_pass { default "xff403"; ~^61\.152\.90\.8 "xffpass"; ~^61\.172\.241\. "xffpass"; limit_req_zone $http_x_forwarded_by 911csj@gmail.com - Nginx Mailing List - English