2022-07-04 21:56:05 +00:00
|
|
|
# see https://symfony.com/doc/current/reference/configuration/framework.html
|
2018-06-20 16:35:08 +00:00
|
|
|
framework:
|
|
|
|
secret: '%env(APP_SECRET)%'
|
|
|
|
#csrf_protection: true
|
2022-07-04 21:56:05 +00:00
|
|
|
http_method_override: false
|
2018-06-20 16:35:08 +00:00
|
|
|
|
2022-07-10 21:46:06 +00:00
|
|
|
# https://symfony.com/doc/5.4/deployment/proxies.html#but-what-if-the-ip-of-my-reverse-proxy-changes-constantly
|
|
|
|
trusted_proxies: '%env(TRUSTED_PROXIES)%'
|
|
|
|
|
2018-06-20 16:35:08 +00:00
|
|
|
# Enables session support. Note that the session will ONLY be started if you read or write from it.
|
|
|
|
# Remove or comment this section to explicitly disable session support.
|
|
|
|
session:
|
2022-07-04 21:56:05 +00:00
|
|
|
handler_id: null
|
|
|
|
cookie_secure: auto
|
|
|
|
cookie_samesite: lax
|
|
|
|
storage_factory_id: session.storage.factory.native
|
2018-06-20 16:35:08 +00:00
|
|
|
|
|
|
|
#esi: true
|
|
|
|
#fragments: true
|
|
|
|
php_errors:
|
|
|
|
log: true
|
|
|
|
|
2022-07-04 21:56:05 +00:00
|
|
|
when@test:
|
|
|
|
framework:
|
|
|
|
test: true
|
|
|
|
session:
|
|
|
|
storage_factory_id: session.storage.factory.mock_file
|