Closed
Description
A lot of people have problems when their app is behind a load balancer or a reverse proxy: they don't have the right HTTP port, or isSecure does not return the right value.
We should probably have a dedicated cookbook about this topic and how you can use Request::setTrustedHeaderName()
, Request::setTrustedProxies()
, the HTTP(S) port configuration in the settings, ...