Skip to content

Commit df84f3d

Browse files
committed
minor #8219 Removed tabs in 2.7 docs (javiereguiluz)
This PR was merged into the 2.7 branch. Discussion ---------- Removed tabs in 2.7 docs While reviewing docs, I found some `\t` in some articles. This first PR contains the `\t` present in every Symfony Docs version. And I'm going to open another PR against 2.8 branch for the other `\t` that are present in 2.8 and higher Symfony Docs versions. Commits ------- 1f74bab Removed tabs in 2.7 docs
2 parents 1915270 + 1f74bab commit df84f3d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

request/load_balancer_reverse_proxy.rst

+5-5
Original file line numberDiff line numberDiff line change
@@ -87,13 +87,13 @@ In this case, you'll need to - *very carefully* - trust *all* proxies.
8787

8888
.. code-block:: diff
8989
90-
// web/app.php
90+
// web/app.php
9191
92-
// ...
93-
$request = Request::createFromGlobals();
94-
+ Request::setTrustedProxies(array('127.0.0.1', $request->server->get('REMOTE_ADDR')));
92+
// ...
93+
$request = Request::createFromGlobals();
94+
+ Request::setTrustedProxies(array('127.0.0.1', $request->server->get('REMOTE_ADDR')));
9595
96-
// ...
96+
// ...
9797
9898
#. Ensure that the trusted_proxies setting in your ``app/config/config.yml``
9999
is not set or it will overwrite the ``setTrustedProxies()`` call above.

0 commit comments

Comments
 (0)