mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2025-01-15 12:43:12 +01:00
Update element-call-labels.j2
This commit is contained in:
parent
5f49433f6c
commit
805b726c6d
@ -24,7 +24,7 @@ traefik.http.middlewares.element-call-strip-prefix.stripprefix.prefixes={{ matri
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
# Additional response headers for Element Call
|
# Additional response headers for Element Call
|
||||||
{% if matrix_element_call_container_labels_traefik_additional_response_headers.keys() | length > 0 %}
|
{% if matrix_element_call_container_labels_traefik_additional_response_headers is mapping and matrix_element_call_container_labels_traefik_additional_response_headers.keys() | length > 0 %}
|
||||||
{% for name, value in matrix_element_call_container_labels_traefik_additional_response_headers.items() %}
|
{% for name, value in matrix_element_call_container_labels_traefik_additional_response_headers.items() %}
|
||||||
traefik.http.middlewares.element-call-add-headers.headers.customresponseheaders.{{ name }}={{ value }}
|
traefik.http.middlewares.element-call-add-headers.headers.customresponseheaders.{{ name }}={{ value }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
@ -39,7 +39,7 @@ traefik.http.routers.element-call-router.middlewares={{ middlewares | join(',')
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
# Additional labels (if any) specified by the user
|
# Additional labels (if any) specified by the user
|
||||||
{% if matrix_element_call_container_extra_arguments.keys() | length > 0 %}
|
{% if matrix_element_call_container_extra_arguments is mapping and matrix_element_call_container_extra_arguments.keys() | length > 0 %}
|
||||||
{% for key, value in matrix_element_call_container_extra_arguments.items() %}
|
{% for key, value in matrix_element_call_container_extra_arguments.items() %}
|
||||||
{{ key }}={{ value }}
|
{{ key }}={{ value }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user