🔧 chore(framework): Configure les en-têtes de confiance pour les proxies inversés.

This commit is contained in:
Serreau Jovann
2025-11-22 23:19:09 +01:00
parent 6c0225963a
commit caff8f94bc

View File

@@ -15,12 +15,8 @@ framework:
#esi: true
#fragments: true
trusted_proxies: '103.21.244.0/22,103.22.200.0/22,103.31.4.0/22,104.16.0.0/13,104.24.0.0/14,108.162.192.0/18,131.0.72.0/22,141.101.64.0/18,162.158.0.0/15,172.64.0.0/13,173.245.48.0/20,188.114.96.0/20,190.93.240.0/20,197.234.240.0/22,198.41.128.0/17'
trusted_headers:
x_forwarded_proto: true
x_forwarded_host: true
x_forwarded_port: true
x_forwarded_prefix: true
x_forwarded_for: true
trusted_headers: [ 'x-forwarded-for', 'x-forwarded-host', 'x-forwarded-proto', 'x-forwarded-port', 'x-forwarded-prefix' ]
when@test:
framework:
test: true