Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdf84f3d

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 docsWhile 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 parents1915270 +1f74bab commitdf84f3d

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)

[8]ページ先頭

©2009-2025 Movatter.jp