2025-01-09 10:21:26 +03:30
|
|
|
# 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.
|
2025-09-03 22:54:46 +03:30
|
|
|
session:
|
|
|
|
|
enabled: true
|
|
|
|
|
cookie_lifetime: 604800 # 1 week
|
|
|
|
|
cookie_secure: false
|
|
|
|
|
cookie_httponly: true
|
|
|
|
|
cookie_samesite: 'lax'
|
2025-01-09 10:21:26 +03:30
|
|
|
|
|
|
|
|
#esi: true
|
|
|
|
|
#fragments: true
|
2025-01-11 19:39:27 +03:30
|
|
|
http_client:
|
|
|
|
|
default_options:
|
|
|
|
|
verify_peer: false
|
2025-01-09 10:21:26 +03:30
|
|
|
|
|
|
|
|
when@test:
|
|
|
|
|
framework:
|
|
|
|
|
test: true
|
|
|
|
|
session:
|
|
|
|
|
storage_factory_id: session.storage.factory.mock_file
|