Join GitHub today
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