Re: nginx returns 503 when it gets 403 from haproxy

2016-04-15 Thread Валентин Бартенев
On Thursday 14 April 2016 22:45:36 CJ Ess wrote: > In my environment I have Nginx terminating connections, then sending them > to an HAProxy upstream. We've noticed that whenever HAProxy emts a 403 > error (Forbidden, in response to our ACL rules), NGINX reports a 503 result > (service unavailable)

Re: Redirection problem again in new rules.

2016-04-15 Thread Francis Daly
On Fri, Apr 15, 2016 at 12:27:11PM +0500, Muhammad Yousuf Khan wrote: Hi there, > Sorry for the mistake in a's and b's i was typing that in general because > the context was not the URL but the problem. If you can show one specific url which does show the problem, then it makes it much easier to

Re: (52) Empty reply from server

2016-04-15 Thread Pankaj Chaudhary
Hi Francis, thank you! i have checked Emillers guide but i am not able to use the same for my problem. I have my product in c and currently running on Apache and now i have to move this product on nginx. In Apache apr_table_set() can use set value to header and later that value can read from h

Re: nginx returns 503 when it gets 403 from haproxy

2016-04-15 Thread Francis Daly
On Thu, Apr 14, 2016 at 10:45:36PM -0400, CJ Ess wrote: Hi there, > In my environment I have Nginx terminating connections, then sending them > to an HAProxy upstream. We've noticed that whenever HAProxy emts a 403 > error (Forbidden, in response to our ACL rules), NGINX reports a 503 result > (s

Re: Redirection problem again in new rules.

2016-04-15 Thread Muhammad Yousuf Khan
Hi All, Thanks for your help. Ph. Gras and Francis for your support and advice i really appreciate that. Ph. Gras, i tried "break" but now it is showing 404. Francis, Sorry for the mistake in a's and b's i was typing that in general because the context was not the URL but the problem. >Do not