|
1 | 1 | framework: |
| 2 | + secret: '%env(APP_SECRET)%' |
| 3 | + default_locale: '%locale%' |
| 4 | + csrf_protection: { enabled: true } |
| 5 | + http_method_override: true |
| 6 | + trusted_hosts: ~ |
| 7 | + # https://symfony.com/doc/current/reference/configuration/framework.html#handler-id |
| 8 | + session: |
| 9 | + handler_id: session.handler.native_file |
| 10 | + save_path: '%kernel.project_dir%/var/sessions/%kernel.environment%' |
| 11 | + # When using the HTTP Cache, ESI allows to render page fragments separately |
| 12 | + # and with different cache configurations for each fragment |
| 13 | + # https://symfony.com/doc/current/book/http_cache.html#edge-side-includes |
| 14 | + esi: { enabled: true } |
| 15 | + fragments: { enabled: true } |
| 16 | + php_errors: |
| 17 | + log: true |
2 | 18 | assets: |
3 | 19 | json_manifest_path: '%kernel.project_dir%/public/build/manifest.json' |
4 | | - |
5 | 20 | cache: |
6 | 21 | # this value is used as part of the "namespace" generated for the cache item keys |
7 | 22 | # to avoid collisions when multiple apps share the same cache backend (e.g. a Redis server) |
8 | 23 | # See https://symfony.com/doc/current/reference/configuration/framework.html#prefix-seed |
9 | 24 | prefix_seed: symfony-demo |
10 | | - |
11 | | - csrf_protection: { enabled: true } |
12 | | - |
13 | | - default_locale: '%locale%' |
14 | | - |
15 | | - # When using the HTTP Cache, ESI allows to render page fragments separately |
16 | | - # and with different cache configurations for each fragment |
17 | | - # https://symfony.com/doc/current/book/http_cache.html#edge-side-includes |
18 | | - esi: { enabled: true } |
19 | | - |
20 | | - fragments: { enabled: true } |
21 | | - |
22 | | - http_method_override: true |
23 | | - |
24 | 25 | # The 'ide' option turns all of the file paths in an exception page |
25 | 26 | # into clickable links that open the given file using your favorite IDE. |
26 | 27 | # When 'ide' is set to null the file is opened in your web browser. |
27 | 28 | # See https://symfony.com/doc/current/reference/configuration/framework.html#ide |
28 | 29 | ide: ~ |
29 | | - |
30 | | - php_errors: |
31 | | - log: true |
32 | | - |
33 | | - secret: '%env(APP_SECRET)%' |
34 | | - |
35 | | - session: |
36 | | - handler_id: session.handler.native_file |
37 | | - save_path: '%kernel.project_dir%/var/sessions/%kernel.environment%' |
38 | | - |
39 | | - trusted_hosts: ~ |
40 | | - |
41 | 30 | validation: { enable_annotations: true } |
0 commit comments