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