Adaptations pour améliorer stabilité et fonctionnalités du role #1
No files matched your search
@@ -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:
|
||||||
|
|||||||
@@ -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://'
|
||||||
Reference in new issue
Block a user