There was an error while loading. Please reload this page.
1 parent 5fdbc73 commit 0633769Copy full SHA for 0633769
1 file changed
config/packages/framework.yaml
@@ -21,7 +21,12 @@ framework:
21
default_locale: "en"
22
trusted_hosts: ~
23
trusted_proxies: '%env(SYMFONY_TRUSTED_PROXIES)%'
24
- trusted_headers: '%env(SYMFONY_TRUSTED_HEADERS)%'
+ trusted_headers:
25
+ - x-forwarded-for
26
+ - x-forwarded-host
27
+ - x-forwarded-proto
28
+ - x-forwarded-port
29
+ - x-forwarded-prefix
30
# error_controller: Symfony\Bundle\TwigBundle\Controller\ExceptionController::showAction
31
32
# Enables session support. Note that the session will ONLY be started if you read or write from it.
0 commit comments