# see https://symfony.com/doc/current/reference/configuration/framework.html framework: secret: '%env(APP_SECRET)%' #csrf_protection: true # Note that the session will be started ONLY if you read or write from it. session: handler_id: App\Session\GracefulSessionHandler cookie_secure: auto cookie_samesite: lax cookie_lifetime: 2678400 # integer, lifetime in seconds, 0 means 'valid for the length of the browser session' trusted_proxies: '%env(TRUSTED_PROXIES)%' trusted_headers: ['forwarded', 'x-forwarded-for', 'x-forwarded-proto'] # trusted_proxies: '%env(TRUSTED_PROXIES)%' #trusted_proxies: 'symfony,REMOTE_ADDR' #esi: true #fragments: true when@test: framework: test: true session: storage_factory_id: session.storage.factory.mock_file