File tree Expand file tree Collapse file tree 1 file changed +1
-19
lines changed Expand file tree Collapse file tree 1 file changed +1
-19
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ Configuration
18
18
* `secret `_
19
19
* `ide `_
20
20
* `test `_
21
- * `trust_proxy_headers `_
21
+ * `trusted_proxies `_
22
22
* `form `_
23
23
* enabled
24
24
* `csrf_protection `_
@@ -117,23 +117,6 @@ see :doc:`/components/http_foundation/trusting_proxies`.
117
117
'trusted_proxies' => array('192.0.0.1'),
118
118
));
119
119
120
- trust_proxy_headers
121
- ~~~~~~~~~~~~~~~~~~~
122
-
123
- .. caution ::
124
-
125
- The ``trust_proxy_headers `` option is deprecated and will be removed in
126
- Symfony 2.3. See `trusted_proxies `_ and :doc: `/components/http_foundation/trusting_proxies `
127
- for details on how to properly trust proxy data.
128
-
129
- **type **: ``Boolean ``
130
-
131
- Configures if HTTP headers (like ``HTTP_X_FORWARDED_FOR ``, ``X_FORWARDED_PROTO ``, and
132
- ``X_FORWARDED_HOST ``) are trusted as an indication for an SSL connection. By default, it is
133
- set to ``false `` and only SSL_HTTPS connections are indicated as secure.
134
-
135
- You should enable this setting if your application is behind a reverse proxy.
136
-
137
120
.. _reference-framework-form :
138
121
139
122
form
@@ -379,7 +362,6 @@ Full Default Configuration
379
362
framework :
380
363
charset : ~
381
364
secret : ~
382
- trust_proxy_headers : false
383
365
trusted_proxies : []
384
366
ide : ~
385
367
test : ~
You can’t perform that action at this time.
0 commit comments