On symfony 2.1, there was an additional field trusted_proxies
, to tell the framework which proxies it should trust. Amazon's Elastic Load Balancer tells you not to rely on the IP it's assigned, since it can change.
How do you set the trusted_proxies
directive on such an environment? Currently I'm using trust_proxy_data
, but it has been deprecated and is marked for removal in Symfony 2.3.