Add notes about kernel.trusted_proxies parameter

This commit is contained in:
Benjamin Grandfond 2012-12-20 11:05:55 +01:00
parent d97829e8a8
commit 4d40b115e7

View File

@ -362,3 +362,24 @@
protected $gender;
```
### FrameworkBundle
#### Configuration
* The 2.2 version introduces a new parameter ```trusted_proxies``` that replaces ```trust_proxy_headers``` in the framework configuration.
Before:
```
# app/config/config.yml
framework:
trust_proxy_headers: false
```
After:
```
# app/config/config.yml
framework:
trusted_proxies: []
```