Skip to content
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.

Add an ACL for FORCE_SSL situation. #235

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Nov 2, 2017

  1. Add an ACL for FORCE_SSL situation.

    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.
    maskshell committed Nov 2, 2017
    Configuration menu
    Copy the full SHA
    5003a92 View commit details
    Browse the repository at this point in the history
  2. Add an ACL for FORCE_SSL situation.

    Fix the unit test.
    maskshell committed Nov 2, 2017
    Configuration menu
    Copy the full SHA
    fea0791 View commit details
    Browse the repository at this point in the history