-
-
Notifications
You must be signed in to change notification settings - Fork 202
/
framework.yaml
37 lines (32 loc) · 1.26 KB
/
framework.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# see https://symfony.com/doc/current/reference/configuration/framework.html
framework:
secret: '%env(APP_SECRET)%'
#csrf_protection: true
http_method_override: false
handle_all_throwables: true
trusted_proxies: '%env(TRUSTED_PROXIES)%'
#trusted_hosts: '%env(TRUSTED_HOSTS)%'
# See https://caddyserver.com/docs/caddyfile/directives/reverse_proxy#defaults
trusted_headers: [ 'x-forwarded-for', 'x-forwarded-proto' ]
#trusted_headers: [ 'x-forwarded-for', 'x-forwarded-proto', 'x-forwarded-host' ]
# 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:
# handler_id: null
# cookie_secure: auto
# cookie_samesite: lax
# storage_factory_id: session.storage.factory.native
#esi: true
#fragments: true
php_errors:
log: true
http_client:
scoped_clients:
# use scoped client to ease mock on functional tests
security.authorization.client:
base_uri: '%env(OIDC_SERVER_URL_INTERNAL)%/'
when@test:
framework:
test: true
#session:
# storage_factory_id: session.storage.factory.mock_file