BUGFIX: make it working behind a proxy

This commit is contained in:
Jeroen De Meerleer 2022-09-12 15:18:24 +02:00
parent 04b843ef44
commit d926191539
Signed by: JeroenED
GPG Key ID: 28CCCB8F62BFADD6
1 changed files with 2 additions and 0 deletions

2
config/packages/framework.yaml Normal file → Executable file
View File

@ -11,6 +11,8 @@ framework:
cookie_secure: auto
cookie_samesite: lax
storage_factory_id: session.storage.factory.native
trusted_proxies: %(env(resolve:TRUSTED_PROXIES)%
trusted_headers: ['x-forwarded-for', 'x-forwarded-host', 'x-forwarded-proto', 'x-forwarded-port', 'x-forwarded-prefix']
#esi: true
#fragments: true