Redirect Loop when using X-Forwarded-Proto header.

2011-03-29 Thread Ben Timby
I am using haproxy in combination with stunnel to perform SSL. My backend servers expect an X-Forwarded-Proto: https header to indicate that the request was sent over SSL. If this header is missing, the request is redirected to the https:// flavor of the URL. However, with haproxy-1.5-dev5, I am

Re: Redirect Loop when using X-Forwarded-Proto header.

2011-03-29 Thread Ben Timby
I found the issue. From the haproxy manual: By default HAProxy operates in a tunnel-like mode with regards to persistent connections: for each connection it processes the first request and forwards everything else (including additional requests) to selected server. Once established, the

Re: Email notification on server status

2011-03-29 Thread Willy Tarreau
Hi Amol, On Tue, Mar 29, 2011 at 09:35:44PM -0700, Amol wrote: Hi, i was just curious, if the haproxy can be set to send notification if the server is down or is not reachable? i was looking at some of my servers and they were all hosed due to php memory allocation and i could not even