feat: Add trusted proxies

This commit is contained in:
Dendy 2025-10-28 19:16:59 +01:00
parent eca8da5c14
commit 2d3c6e90ee
1 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,9 @@ framework:
# Note that the session will be started ONLY if you read or write from it.
session: true
trusted_headers: ['x-forwarded-for', 'x-forwarded-host', 'x-forwarded-proto', 'x-forwarded-port', 'x-forwarded-prefix']
trusted_proxies: 'private_ranges'
#esi: true
#fragments: true