removed headers.

This commit is contained in:
wjbeckett 2024-10-01 16:51:06 +10:00
parent 9691577b22
commit 6c8923ae28
3 changed files with 18 additions and 18 deletions

View File

@ -20,12 +20,12 @@ traefik.http.middlewares.matrix-element-call-strip-prefix.stripprefix.prefixes={
{% set middlewares = middlewares + ['matrix-element-call-strip-prefix'] %} {% set middlewares = middlewares + ['matrix-element-call-strip-prefix'] %}
{% endif %} {% endif %}
{% if matrix_element_call_container_labels_traefik_additional_response_headers.keys() | length > 0 %} #{% if 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.matrix-element-call-add-headers.headers.customresponseheaders.{{ name }}={{ value }} #traefik.http.middlewares.matrix-element-call-add-headers.headers.customresponseheaders.{{ name }}={{ value }}
{% endfor %} #{% endfor %}
{% set middlewares = middlewares + ['matrix-element-call-add-headers'] %} #{% set middlewares = middlewares + ['matrix-element-call-add-headers'] %}
{% endif %} #{% endif %}
traefik.http.routers.matrix-element-call.rule={{ matrix_element_call_container_labels_traefik_rule }} traefik.http.routers.matrix-element-call.rule={{ matrix_element_call_container_labels_traefik_rule }}
{% if matrix_element_call_container_labels_traefik_priority | int > 0 %} {% if matrix_element_call_container_labels_traefik_priority | int > 0 %}

View File

@ -20,12 +20,12 @@ traefik.http.middlewares.matrix-jwt-service-strip-prefix.stripprefix.prefixes={{
{% set middlewares = middlewares + ['matrix-jwt-service-strip-prefix'] %} {% set middlewares = middlewares + ['matrix-jwt-service-strip-prefix'] %}
{% endif %} {% endif %}
{% if matrix_jwt_service_container_labels_traefik_additional_response_headers.keys() | length > 0 %} #{% if matrix_jwt_service_container_labels_traefik_additional_response_headers.keys() | length > 0 %}
{% for name, value in matrix_jwt_service_container_labels_traefik_additional_response_headers.items() %} #{% for name, value in matrix_jwt_service_container_labels_traefik_additional_response_headers.items() %}
traefik.http.middlewares.matrix-jwt-service-add-headers.headers.customresponseheaders.{{ name }}={{ value }} #traefik.http.middlewares.matrix-jwt-service-add-headers.headers.customresponseheaders.{{ name }}={{ value }}
{% endfor %} #{% endfor %}
{% set middlewares = middlewares + ['matrix-jwt-service-add-headers'] %} #{% set middlewares = middlewares + ['matrix-jwt-service-add-headers'] %}
{% endif %} #{% endif %}
traefik.http.routers.matrix-jwt-service.rule={{ matrix_jwt_service_container_labels_traefik_rule }} traefik.http.routers.matrix-jwt-service.rule={{ matrix_jwt_service_container_labels_traefik_rule }}
{% if matrix_jwt_service_container_labels_traefik_priority | int > 0 %} {% if matrix_jwt_service_container_labels_traefik_priority | int > 0 %}

View File

@ -20,12 +20,12 @@ traefik.http.middlewares.matrix-livekit-server-strip-prefix.stripprefix.prefixes
{% set middlewares = middlewares + ['matrix-livekit-server-strip-prefix'] %} {% set middlewares = middlewares + ['matrix-livekit-server-strip-prefix'] %}
{% endif %} {% endif %}
{% if matrix_livekit_server_container_labels_traefik_additional_response_headers.keys() | length > 0 %} #{% if matrix_livekit_server_container_labels_traefik_additional_response_headers.keys() | length > 0 %}
{% for name, value in matrix_livekit_server_container_labels_traefik_additional_response_headers.items() %} #{% for name, value in matrix_livekit_server_container_labels_traefik_additional_response_headers.items() %}
traefik.http.middlewares.matrix-livekit-server-add-headers.headers.customresponseheaders.{{ name }}={{ value }} #traefik.http.middlewares.matrix-livekit-server-add-headers.headers.customresponseheaders.{{ name }}={{ value }}
{% endfor %} #{% endfor %}
{% set middlewares = middlewares + ['matrix-livekit-server-add-headers'] %} #{% set middlewares = middlewares + ['matrix-livekit-server-add-headers'] %}
{% endif %} #{% endif %}
traefik.http.routers.matrix-livekit-server.rule={{ matrix_livekit_server_container_labels_traefik_rule }} traefik.http.routers.matrix-livekit-server.rule={{ matrix_livekit_server_container_labels_traefik_rule }}
{% if matrix_livekit_server_container_labels_traefik_priority | int > 0 %} {% if matrix_livekit_server_container_labels_traefik_priority | int > 0 %}