Adaptations pour améliorer stabilité et fonctionnalités du role #1

Merged
julienfastre merged 18 commits from adaptation-202601 into main 2026-11-20 16:19:19 +00:00
2 changed files with 6 additions and 6 deletions
Showing only changes of commit 2dabbc0503 - Show all commits

No files matched your search

+3 -3
View File
@@ -1,11 +1,11 @@
# this file is managed by ansible. Do not edit it by hand # this file is managed by ansible. Do not edit it by hand
framework: framework:
{% if traefik_install +%} {% if traefik_install %}
trusted_proxies: '127.0.0.1,REMOTE_ADDR{% for ip in traefik_trusted_ips|default([]) %},{{ ip }}{% endfor %}' trusted_proxies: '127.0.0.1,REMOTE_ADDR{% for ip in traefik_trusted_ips|default([]) %},{{ ip }}{% endfor %}'
{%+ else %} {% else %}
trusted_proxies: '127.0.0.1,{% for ip in chill.proxy_ips %}{{ ip }}{% if not loop.last %},{% endif %}{% endfor %}' trusted_proxies: '127.0.0.1,{% for ip in chill.proxy_ips %}{{ ip }}{% if not loop.last %},{% endif %}{% endfor %}'
{%+ endif %} {% endif %}
trusted_headers: ['x-forwarded-for', 'x-forwarded-host', 'x-forwarded-proto', 'x-forwarded-port'] trusted_headers: ['x-forwarded-for', 'x-forwarded-host', 'x-forwarded-proto', 'x-forwarded-port']
parameters: parameters:
+3 -3
View File
@@ -2,7 +2,7 @@
framework: framework:
messenger: messenger:
transports: transports:
{% if chill.rabbitmq_install +%} {% if chill.rabbitmq_install %}
async: async:
dsn: '%env(RABBITMQ_URL)%/async' dsn: '%env(RABBITMQ_URL)%/async'
options: options:
@@ -13,9 +13,9 @@ framework:
async: ~ async: ~
auto_setup: true auto_setup: true
priority: '%env(RABBITMQ_URL)%/priority' priority: '%env(RABBITMQ_URL)%/priority'
{% else +%} {% else %}
async: 'doctrine://default' async: 'doctrine://default'
priority: 'doctrine://default' priority: 'doctrine://default'
{% endif +%} {% endif %}
failed: 'doctrine://default?queue_name=failed' failed: 'doctrine://default?queue_name=failed'
sync: 'sync://' sync: 'sync://'