Re: Using Domain Names in proxy_pass directive

2014-05-25 Thread Shobhit Mishra
This solution would really help . Thanks a lot for the info .. :) Regards Shobhit Mishra Posted at Nginx Forum: http://forum.nginx.org/read.php?2,250307,250341#msg-250341 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listin

Re: Using Domain Names in proxy_pass directive

2014-05-23 Thread Valentin V. Bartenev
On Friday 23 May 2014 08:41:09 Shobhit Mishra wrote: [..] > Does nginx honor TTL for the FQDN in the upstream block as well ?? > > As per my understanding nginx resolves FQDN in upstream blocks only during > configuration parsing .. > > Please suggest on this. Look at the "resolve" parameter: ht

Re: Using Domain Names in proxy_pass directive

2014-05-23 Thread Shobhit Mishra
Thanks Ruslan for the reply .. I have another query regarding this .. I am planning to use more than one backend servers for supporting Load balancing. I would be using an upstream block for the same. My default configuration is as below : upstream us1 { server sbc.example1.com:443 ; server

Re: Using Domain Names in proxy_pass directive

2014-05-23 Thread Ruslan Ermilov
On Fri, May 23, 2014 at 07:39:36AM -0400, Shobhit Mishra wrote: > Hi > > I am using nginx as reverse proxy with FQDN for the backend server . > > My configuration for the location block looks like this :- > > location / { > > set $ustreamsbc sbc.example.com ; > proxy_pass HTTPS://$ustrea

Using Domain Names in proxy_pass directive

2014-05-23 Thread Shobhit Mishra
Hi I am using nginx as reverse proxy with FQDN for the backend server . My configuration for the location block looks like this :- location / { set $ustreamsbc sbc.example.com ; proxy_pass HTTPS://$ustreamsbc ; proxy_next_upstream error timeout invalid_header http_500