# 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 # dmtools runs behind the shared Nginx Proxy Manager on the servers, which # terminates TLS and forwards over the Docker network. Trust the private # ranges the proxy/containers live in, and honour its X-Forwarded-* headers # so Symfony builds https:// URLs and detects the real client IP. trusted_proxies: '%env(TRUSTED_PROXIES)%' trusted_headers: ['x-forwarded-for', 'x-forwarded-host', 'x-forwarded-proto', 'x-forwarded-port', 'x-forwarded-prefix'] #esi: true #fragments: true when@test: framework: test: true session: storage_factory_id: session.storage.factory.mock_file