mirror of
https://github.com/MarijnDoeve/TijdVoorDeTest.git
synced 2026-03-06 04:44:19 +01:00
24 lines
630 B
YAML
24 lines
630 B
YAML
# 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
|
|
form:
|
|
csrf_protection:
|
|
enabled: true
|
|
#esi: true
|
|
#fragments: true
|
|
when@prod:
|
|
framework:
|
|
# shortcut for private IP address ranges of your proxy
|
|
trusted_proxies: 'private_ranges'
|
|
# or, if your proxy instead uses the "Forwarded" header
|
|
trusted_headers: [ 'forwarded' ]
|
|
|
|
when@test:
|
|
framework:
|
|
test: true
|
|
session:
|
|
storage_factory_id: session.storage.factory.mock_file
|