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

Lines changed: 5 additions & 5 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy