On 28 September 2011 12:42, Vivek Malik <[email protected]> wrote: > This is a snippet from our working config > stunnel.conf > [https] > accept = 443 > connect = 127.0.0.1:82 > TIMEOUTclose = 0 > xforwardedfor = yes > haproxy.cfg > > bind 127.0.0.1:82 > option forwardfor except 127.0.0.1 > acl https dst_port 82 > reqidel ^X-Forwarded-Proto:.* > reqadd X-Forwarded-Proto:\ HTTP unless https > reqadd X-Forwarded-Proto:\ HTTPS if https
Works like a charm, thanks! Graeme.

