Jinja control tags are now at column 0 without whitespace modifiers, so no stray spaces are added before the following line (invalid YAML for trusted_headers when traefik_install is true). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VnXP3D1srf5k8MrtPFUz93
13 lines
546 B
YAML
13 lines
546 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 |