ansible-role-chill/templates/config/prod/framework.yaml
Julien Fastré 76dfaf5d93
Update configs for trusted proxies, HTTPS, and log paths
Revised proxy settings to dynamically include trusted IPs and ensured HTTPS redirections. Adjusted log mount path in Docker compose to align with application structure. Removed unused Traefik certificate volume for cleanup.
2025-01-10 12:49:43 +01:00

7 lines
320 B
YAML

framework:
trusted_proxies: '127.0.0.1,REMOTE_ADDR{% for ip in traefik_trusted_ips|default([]) %},{{ ip }}{% endfor %}'
trusted_headers: ['x-forwarded-for', 'x-forwarded-host', 'x-forwarded-proto', 'x-forwarded-port']
parameters:
router.request_context.scheme: 'https'
asset.request_context.secure: true