Private
Public Access
1
0
Files
MineSeeker/config/packages/prod/framework.yaml
Lang c2693c4648
All checks were successful
Deploy to Production / deploy (push) Successful in 11s
fix: usr: another attempt to fix the email assets #4
2026-04-15 20:03:48 +02:00

9 lines
552 B
YAML

framework:
# In production with FrankenPHP, the reverse proxy (Caddy) is in the same container
# Requests come from 127.0.0.1, so we must trust that IP to process X-Forwarded-Proto headers
# TRUSTED_PROXIES is set in the .env file (stored in Gitea secrets)
# Typical value for Docker: 172.18.0.0/16 (or the specific Docker network CIDR)
# This must be provided by the PROD_ENV_FILE secret in Gitea
trusted_proxies: '%env(TRUSTED_PROXIES)%'
trusted_headers: ['x-forwarded-for', 'x-forwarded-proto', 'x-forwarded-host', 'x-forwarded-port']