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

Appearance settings

Commit df84f3d

Browse filesBrowse files
committed
minor symfony#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
Copy full SHA for df84f3d

File tree

Expand file treeCollapse file tree

1 file changed

+5
-5
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-5
lines changed

‎request/load_balancer_reverse_proxy.rst

Copy file name to clipboardExpand all lines: request/load_balancer_reverse_proxy.rst
+5-5Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.