37 lines
1.2 KiB
YAML
37 lines
1.2 KiB
YAML
framework:
|
|
secret: '%env(APP_SECRET)%'
|
|
#default_locale: en
|
|
#csrf_protection: true
|
|
#http_method_override: true
|
|
# 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: ~
|
|
|
|
# Trust headers from reverse proxy (Caddy)
|
|
# This ensures absolute_url() uses HTTPS scheme when behind a reverse proxy
|
|
# Production: TRUSTED_PROXIES from .env (Gitea secret)
|
|
# Development: TRUSTED_PROXIES from compose.override.yaml
|
|
trusted_proxies: '%env(TRUSTED_PROXIES)%'
|
|
trusted_headers: ['x-forwarded-for', 'x-forwarded-proto', 'x-forwarded-host', 'x-forwarded-port']
|
|
|
|
#esi: true
|
|
#fragments: true
|
|
php_errors:
|
|
log: true
|
|
|
|
cache:
|
|
# Put the unique name of your app here: the prefix seed
|
|
# is used to compute stable namespaces for cache keys.
|
|
#prefix_seed: your_vendor_name/app_name
|
|
|
|
# The app cache caches to the filesystem by default.
|
|
# Other options include:
|
|
|
|
# Redis
|
|
#app: cache.adapter.redis
|
|
#default_redis_provider: redis://localhost
|
|
|
|
# APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)
|
|
#app: cache.adapter.apcu
|