Re: resolver does not re-resolve upstream servers after initial cache

2015-01-07 Thread Miroslav S.
any update? -- Posted via http://www.ruby-forum.com/. ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: resolver directive doesn't fallback to the system DNS resolver

2015-01-07 Thread Yichun Zhang (agentzh)
Hello! On Wed, Jan 7, 2015 at 4:15 PM, Francis Daly wrote: > (You could probably come up with a way to read /etc/resolv.conf when it > changes, and update the nginx config and reload it; but that's a "dynamic > reconfiguration" problem, not an "nginx dynamic reconfiguration" problem.) > Yeah, I t

Re: resolver directive doesn't fallback to the system DNS resolver

2015-01-07 Thread Francis Daly
On Wed, Jan 07, 2015 at 05:37:22PM -0600, Kunal Pariani wrote: Hi there, > http { > server { > listen 443; > location ^~ /zss > { > proxy_pass https://www.example.com$request_uri; > } > } > } Ok, I see the "no resolver defined to resolve www.example.com" message when I make a request th

Re: limit_conn module exclude also on Maxim Dunin recommended code

2015-01-07 Thread Francis Daly
On Sun, Jan 04, 2015 at 09:44:19AM -0500, ASTRAPI wrote: Hi there, > 1)Does nginx realy knows how to exclude ip's in this format .0/21 or i must > use them as 199.27.128.5 for example? http://nginx.org/r/geo > 2)Now i want to use the limit_conn_zone on the above recommendation from <...> > But

Re: resolver directive doesn't fallback to the system DNS resolver

2015-01-07 Thread Kunal Pariani
This is what i have. http { server { listen 443; location ^~ /zss { proxy_pass https://www.example.com$request_uri; } } } Now as per http://gc-taylor.com/blog/2011/11/10/nginx-aws-elb-name-resolution-resolvers/, If you are running nginx as a proxy in front of An Amazon Web Services El

Re: Skip Location Based On Query String Parameter?

2015-01-07 Thread Francis Daly
On Sun, Jan 04, 2015 at 09:12:40AM -0500, nrahl wrote: Hi there, > > >location ~ ^/([a-zA-Z0-9\-]+)/ { #Use cache if possible, then > > proxy pass > > > >if ($arg_nocache = true) { > > include /etc/nginx/apache-pass; > >} > > > > > try_files /cache/$1.html.gz

Re: resolver directive doesn't fallback to the system DNS resolver

2015-01-07 Thread Francis Daly
On Mon, Jan 05, 2015 at 05:04:52PM -0600, Kunal Pariani wrote: Hi there, > 015/01/05 14:24:13 [error] 22560#0: *5 no resolver defined to resolve ... > > Seems like nginx is not falling back to the system DNS resolver in case the > 'resolver' directive is not used. Isn't this incorrect behaviou

Re: resolver directive doesn't fallback to the system DNS resolver

2015-01-07 Thread Kunal Pariani
Ping.. Thanks -Kunal From: "Kunal Pariani" To: nginx@nginx.org Sent: Monday, January 5, 2015 3:04:52 PM Subject: resolver directive doesn't fallback to the system DNS resolver Hello, I am looking at how to use nginx's resolver directive (http://nginx.org/en/docs/http/ngx_http_core_mod

Nginx restart/reload not working

2015-01-07 Thread khav
I have compiled nginx from source and i think that there is something wrong with my init script.I changed the error log from debug to crit but error log was still showing [debug] in logs.I had to killall nginx and then i ran service nginx start to nginx again #!/bin/sh # # nginx - this script star