@@ -22,7 +22,6 @@ Configuration
2222
2323* `secret `_
2424* `http_method_override `_
25- * `trusted_proxies `_
2625* `ide `_
2726* `test `_
2827* `default_locale `_
@@ -183,44 +182,13 @@ named ``kernel.http_method_override``.
183182 $request = Request::createFromGlobals();
184183 // ...
185184
185+
186186.. _reference-framework-trusted-proxies :
187187
188188trusted_proxies
189189~~~~~~~~~~~~~~~
190190
191- **type **: ``array ``
192-
193- Configures the IP addresses that should be trusted as proxies. For more
194- details, see :doc: `/request/load_balancer_reverse_proxy `.
195-
196- .. configuration-block ::
197-
198- .. code-block :: yaml
199-
200- # app/config/config.yml
201- framework :
202- trusted_proxies : [192.0.0.1, 10.0.0.0/8]
203-
204- .. code-block :: xml
205-
206- <!-- app/config/config.xml -->
207- <?xml version =" 1.0" encoding =" UTF-8" ?>
208- <container xmlns =" http://symfony.com/schema/dic/services"
209- xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
210- xmlns : framework =" http://symfony.com/schema/dic/symfony"
211- xsi : schemaLocation =" http://symfony.com/schema/dic/services
212- http://symfony.com/schema/dic/services/services-1.0.xsd
213- http://symfony.com/schema/dic/symfony http://symfony.com/schema/dic/symfony/symfony-1.0.xsd" >
214-
215- <framework : config trusted-proxies =" 192.0.0.1, 10.0.0.0/8" />
216- </container >
217-
218- .. code-block :: php
219-
220- // app/config/config.php
221- $container->loadFromExtension('framework', array(
222- 'trusted_proxies' => array('192.0.0.1', '10.0.0.0/8'),
223- ));
191+ The ``trusted_proxies `` option was removed in Symfony 3.3. See :doc: `/request/load_balancer_reverse_proxy `.
224192
225193ide
226194~~~
0 commit comments