From b66dd5f27581c0cf7df1e66966b28c502f29eb51 Mon Sep 17 00:00:00 2001 From: cedric lombardot Date: Wed, 17 Mar 2021 16:51:14 +0100 Subject: [PATCH] Fix to use yaml syntax --- deployment/proxies.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deployment/proxies.rst b/deployment/proxies.rst index 5f24a69a418..a51aa1c8889 100644 --- a/deployment/proxies.rst +++ b/deployment/proxies.rst @@ -31,11 +31,11 @@ and what headers your reverse proxy uses to send information: # config/packages/framework.yaml framework: # ... - // the IP address (or range) of your proxy + # the IP address (or range) of your proxy trusted_proxies: '192.0.0.1,10.0.0.0/8' - // trust *all* "X-Forwarded-*" headers + # trust *all* "X-Forwarded-*" headers trusted_headers: ['x-forwarded-for', 'x-forwarded-host', 'x-forwarded-proto', 'x-forwarded-port'] - // or, if your proxy instead uses the "Forwarded" header + # or, if your proxy instead uses the "Forwarded" header trusted_headers: ['forwarded'] .. code-block:: xml