Skip to content

Commit 019a8c8

Browse files
Fix yaml syntax
1 parent 4ec9c1f commit 019a8c8

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)