Files
e-ticket/config/packages/framework.yaml

21 lines
629 B
YAML
Raw Normal View History

2026-03-04 21:52:21 +01:00
# see https://symfony.com/doc/current/reference/configuration/framework.html
framework:
secret: '%env(APP_SECRET)%'
# Note that the session will be started ONLY if you read or write from it.
session: true
#esi: true
#fragments: true
when@dev:
framework:
trusted_proxies: '127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,REMOTE_ADDR'
trusted_headers: ['x-forwarded-for', 'x-forwarded-host', 'x-forwarded-proto', 'x-forwarded-port', 'x-forwarded-prefix']
2026-03-04 21:52:21 +01:00
when@test:
framework:
test: true
session:
storage_factory_id: session.storage.factory.mock_file