dockercloud-haproxy icon indicating copy to clipboard operation
dockercloud-haproxy copied to clipboard

Add an ACL for FORCE_SSL situation.

Open maskshell opened this issue 8 years ago • 0 comments
trafficstars

When haproxy behind other load balance proxy, such as Amazon ELB, Aliyun SLB. If you use ELB to terminate the SSL, and the haproxy listen on HTTP only, then it will raises the "ERR_TOO_MANY_REDIRECTS" error.

But the load balancer can pass a additional X-Forwarded-Proto header to haproxy. So, if we add an ACL to process the X-Forwarded-Proto header, then will solve the problem.

Must combine with the global env var "SKIP_FORWARDED_PROTO".

#210

maskshell avatar Nov 02 '17 07:11 maskshell