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

Commit1f74bab

Browse files
committed
Removed tabs in 2.7 docs
1 parent1915270 commit1f74bab

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