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.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
framework:
|
||||
trusted_proxies: '172.0.0.0/8'
|
||||
trusted_headers: ['x-forwarded-for', 'x-forwarded-host', 'x-forwarded-proto', 'x-forwarded-port']
|
||||
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
|
Reference in New Issue
Block a user