Re: merely testing for $ssl_protocol breaks upstream proxy only with IE8

2015-10-06 Thread rpriyana
Thanks! I will use map and test it out. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,262024,262037#msg-262037 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: merely testing for $ssl_protocol breaks upstream proxy only with IE8

2015-10-06 Thread B.R.
maps are a good way of conditionally setting variables' value. --- *B. R.* On Tue, Oct 6, 2015 at 9:34 AM, Francis Daly wrote: > On Mon, Oct 05, 2015 at 06:33:40PM -0400, rpriyana wrote: > > Hi there, > > > location / { > > set $unsafe 0; > > if ($ssl_protocol = TLSv1) { > >

Re: merely testing for $ssl_protocol breaks upstream proxy only with IE8

2015-10-06 Thread Francis Daly
On Mon, Oct 05, 2015 at 06:33:40PM -0400, rpriyana wrote: Hi there, > location / { > set $unsafe 0; > if ($ssl_protocol = TLSv1) { > set $unsafe 1; > } > proxy_intercept_errors on; > proxy_read_timeout 90; > try_files $uri $uri/index.html @pr

merely testing for $ssl_protocol breaks upstream proxy only with IE8

2015-10-05 Thread rpriyana
I am on nginx 1.9.4 One of my https site cannot be accessed by IE8 in XP and some IE in Win 7 (getting 404). It seems nginx do the try_files locally and gave up, not going for @proxy. Works fine with other browser. I narrowed it down to this sample config # sample config that has issue #