Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9c6529b

Browse files
committed
Merge branch '5.2' into 5.x
* 5.2: Fix to use yaml syntax
2 parents 668adcc + c3de5d9 commit 9c6529b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

deployment/proxies.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ and what headers your reverse proxy uses to send information:
3131
# config/packages/framework.yaml
3232
framework:
3333
# ...
34-
// the IP address (or range) of your proxy
34+
# the IP address (or range) of your proxy
3535
trusted_proxies: '192.0.0.1,10.0.0.0/8'
36-
// trust *all* "X-Forwarded-*" headers
36+
# trust *all* "X-Forwarded-*" headers
3737
trusted_headers: ['x-forwarded-for', 'x-forwarded-host', 'x-forwarded-proto', 'x-forwarded-port']
38-
// or, if your proxy instead uses the "Forwarded" header
38+
# or, if your proxy instead uses the "Forwarded" header
3939
trusted_headers: ['forwarded']
4040
4141
.. code-block:: xml

0 commit comments

Comments
 (0)