Send 502 when all php-fpm workers are in use

2014-07-05 Thread justink101
I have a php-fpm pool of workers which is 6. There are long running requests being sent, so I have the following fastcgi directives set: fastcgi_connect_timeout 15; fastcgi_send_timeout 1200; fastcgi_read_timeout 1200; However right now, if the php-fpm pool of workers is full, a request waits the

Re: Setting Allow / Deny Rules + Keep processing other location rules?

2014-07-05 Thread Maxim Dounin
Hello! On Sat, Jul 05, 2014 at 12:29:18PM -0400, Mayhem30 wrote: > I'm having a heck of a time setting allow / deny rules for certain > directories and files + getting Nginx to keep handling other location > rules. > > For example, I want to only allow my IP address access to the WordPress > log

Setting Allow / Deny Rules + Keep processing other location rules?

2014-07-05 Thread Mayhem30
I'm having a heck of a time setting allow / deny rules for certain directories and files + getting Nginx to keep handling other location rules. For example, I want to only allow my IP address access to the WordPress login page: location ~* wp-login.php { allow 22.131.12.14; deny all;