Re: limit_req off?

2016-01-22 Thread Fry-kun
ocation /outer-path { > limit_req ... > } > > location /outer-path/inner-path { > ... > } > --- > *B. R.* > > On Tue, Jan 19, 2016 at 11:01 PM, Fry-kun > > wrote: > > > I have a location with limit_req and would like to set up an inne

limit_req off?

2016-01-19 Thread Fry-kun
I have a location with limit_req and would like to set up an inner path without the limit but with other settings same, e.g. location / { limit_req ...; proxy_pass ...; location /private/ { limit_req off; } } How come "limit_req off" is not an available option? Any other easy way of

Re: curl "Connection refused" caused by SSL config

2015-03-06 Thread Fry-kun
Thanks Maxim, that explains it Would be nice if documentation mentioned this fact, or nginx would spit out some errors about the conflicting config ;) Posted at Nginx Forum: http://forum.nginx.org/read.php?2,257064,257107#msg-257107 ___ nginx mailing l

Re: curl "Connection refused" caused by SSL config

2015-03-05 Thread Fry-kun
So it looks like the ssl config is valid per-port only. If I set up a server on a different port with different ssl config, it works. Is this a bug or is it by design? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,257064,257086#msg-257086 __

Re: curl "Connection refused" caused by SSL config

2015-03-04 Thread Fry-kun
Also noticed that http-level config causes www.foo.com to show errors on https://www.200please.com/ Posted at Nginx Forum: http://forum.nginx.org/read.php?2,257064,257065#msg-257065 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailma

curl "Connection refused" caused by SSL config

2015-03-04 Thread Fry-kun
Hi all, I have a strange problem with nginx: I tried to harden the TLS stack by setting default to recommended values from https://wiki.mozilla.org/Security/Server_Side_TLS but one server has to keep backward compatibility -- so I set it up as http { ssl_protocols TLSv1.1 TLSv1.2; ssl_ciphers

Re: Need help setting up cache for failover

2014-12-04 Thread Fry-kun
_errors. Should not > you > be using fastcgi_intercept_errors > <http://nginx.org/en/docs/http/ngx_http_fastcgi_module.html#fastcgi_in > tercept_errors> > ? > --- > *B. R.* > > On Thu, Dec 4, 2014 at 2:25 AM, Fry-kun wrote: > > > I'm trying to configure

Need help setting up cache for failover

2014-12-03 Thread Fry-kun
I'm trying to configure my sites to failover to fastcgi_cache when backends are unavailable -- but at the same time I want to return nginx errors (hiding backend errors) Here's a simplified version of my current config: fastcgi_cache_path /dev/shm/nginx_fastcgi_cache levels=1:2 inactive=3d key