I am trying to limit connections and requests per IP then add a whitelist for search bots to be excluded from this limits. This can be done using HttpLimitConnModule as I described on this post. as following ------------------------ http{ geo $notabot { default 1; #google 64.233.160.0/19 0; 65.52.0.0/14 0; 66.102.0.0by gadelkareem - Ideas and Feature Requests
Extended description of HttpLimitZoneModule and HttpLimitReqModule usage with examples and how to exclude a whitelist of IPs can be found here http://gadelkareem.com/2012/03/25/limit-requests-per-ip-on-nginx-using-httplimitzonemodule-and-httplimitreqmodule-except-whitelist/by gadelkareem - Nginx Mailing List - English
Extended description of HttpLimitZoneModule and HttpLimitReqModule usage with examples and how to exclude a whitelist of IPs can be found here http://gadelkareem.com/2012/03/25/limit-requests-per-ip-on-nginx-using-httplimitzonemodule-and-httplimitreqmodule-except-whitelist/by gadelkareem - Nginx Mailing List - English
using Nginx 0.8.54 : I setup PHP error page to do redirections for some links and 404 for others and display custom HTML body. nginx server { error_page 404 = /err/error.php?error=404; } error.php <?php if( $_SERVER['REQUEST_URI'] == "/blah" ){ header('Status: 301 Moved Permanently'); header('location: http://localhost/ ');by gadelkareem - How to...
I am moving from lighttpd and I miss an important option static-file.exclude-extensions = ( ".php", ".pl" ) which disable access to excutable files even if the backend server is down. how can I do that with nginx?by gadelkareem - How to...