Files
ansible-role-chill/templates/config/prod/framework.yaml
T
julienfastre 93c4534204 Make proxy IP configuration dynamic and expand RabbitMQ settings
Added a new `proxy_ips` variable for flexible proxy IP configuration in Chill defaults and updated framework template. Enhanced RabbitMQ integration with a conditional `rabbitmq_install` option.
2026-01-27 16:21:52 +01:00

13 lines
561 B
YAML

# this file is managed by ansible. Do not edit it by hand
framework:
{% if traefik_install +%}
trusted_proxies: '127.0.0.1,REMOTE_ADDR{% for ip in traefik_trusted_ips|default([]) %},{{ ip }}{% endfor %}'
{%+ else %}
trusted_proxies: '127.0.0.1,{% for ip in chill.proxy_ips %}{{ ip }}{% if not loop.last %},{% endif %}{% endfor %}'
{%+ endif %}
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