Skip to content

Commit f687353

Browse files
committed
minor #15128 Fix yaml syntax (cedriclombardot)
This PR was merged into the 5.2 branch. Discussion ---------- Fix yaml syntax <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `5.x` for features of unreleased versions). --> Commits ------- 019a8c8 Fix yaml syntax
2 parents 760b81b + 019a8c8 commit f687353

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deployment/proxies.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ In this case, you'll need to - *very carefully* - trust *all* proxies.
125125
# config/packages/framework.yaml
126126
framework:
127127
# ...
128-
// trust *all* requests (the 'REMOTE_ADDR' string is replaced at
129-
// run time by $_SERVER['REMOTE_ADDR'])
128+
# trust *all* requests (the 'REMOTE_ADDR' string is replaced at
129+
# run time by $_SERVER['REMOTE_ADDR'])
130130
trusted_proxies: '127.0.0.1,REMOTE_ADDR'
131131
132132
That's it! It's critical that you prevent traffic from all non-trusted sources.

0 commit comments

Comments
 (0)