For proxies such as haproxy, I would suggest that we mention the following snippet in the docs:
/* fixup the request proxy interpreter for haproxy */
Request::setTrustedHeaderName(Symfony\Component\HttpFoundation\Request::HEADER_CLIENT_PROTO,'X_FORWARDED_SCHEME');
For proxies such as haproxy, I would suggest that we mention the following snippet in the docs: