Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Document Proxy Server Configuration #4076
Infinite loop occurs in commence method for Load Balancer (LB) based deployment
When useForward is true, the below if check runs in infinite loop as the https requests received by the LB is forwarded to the webserver as http
if condition above could use the header Forward-proto or X-Forward-proto (Refer https://tools.ietf.org/html/rfc7239#page-7) to determine if the server has a proxy or LB configured. Not all LB adds this header and hence can't always be relied on. Instead an additional boolean param should be provided with this class for users to allow skiping this check for such deployments.
Refer the config above