From 25909b102945fbd030466fcc04b4f861d1418587 Mon Sep 17 00:00:00 2001 From: Backslash Date: Fri, 27 Sep 2024 08:51:27 +1000 Subject: [PATCH] Update and rename labels.j2 to element-call-labels.j2 --- .../{labels.j2 => element-call-labels.j2} | 20 ------------------- 1 file changed, 20 deletions(-) rename roles/custom/matrix-element-call/templates/{labels.j2 => element-call-labels.j2} (61%) diff --git a/roles/custom/matrix-element-call/templates/labels.j2 b/roles/custom/matrix-element-call/templates/element-call-labels.j2 similarity index 61% rename from roles/custom/matrix-element-call/templates/labels.j2 rename to roles/custom/matrix-element-call/templates/element-call-labels.j2 index a13a75ef0..7ec9aa164 100644 --- a/roles/custom/matrix-element-call/templates/labels.j2 +++ b/roles/custom/matrix-element-call/templates/element-call-labels.j2 @@ -36,26 +36,6 @@ traefik.http.middlewares.element-call-add-headers.headers.customresponseheaders. traefik.http.routers.element-call-router.middlewares={{ middlewares | join(',') }} {% endif %} -# LiveKit Labels -traefik.http.routers.sfu-router.rule=Host(`{{ matrix_element_call_livekit_service_url | regex_replace('^https?://', '') }}`) -traefik.http.routers.sfu-router.entrypoints=websecure -traefik.http.routers.sfu-router.tls.certresolver=default -traefik.http.services.sfu-service.loadbalancer.server.port=7880 -traefik.http.middlewares.sfu-headers.headers.customFrameOptionsValue=SAMEORIGIN -traefik.http.middlewares.sfu-headers.headers.customResponseHeaders.X-Content-Type-Options=nosniff -traefik.http.middlewares.sfu-headers.headers.customResponseHeaders.Strict-Transport-Security=max-age=31536000; includeSubDomains; preload -traefik.http.routers.sfu-router.middlewares=sfu-headers - -# JWT Labels -traefik.http.routers.jwt-router.rule=Host(`{{ matrix_element_call_jwt_service_url | regex_replace('^https?://', '') }}`) -traefik.http.routers.jwt-router.entrypoints=websecure -traefik.http.routers.jwt-router.tls.certresolver=default -traefik.http.services.jwt-service.loadbalancer.server.port=8881 -traefik.http.middlewares.jwt-headers.headers.customFrameOptionsValue=SAMEORIGIN -traefik.http.middlewares.jwt-headers.headers.customResponseHeaders.X-Content-Type-Options=nosniff -traefik.http.middlewares.jwt-headers.headers.customResponseHeaders.Strict-Transport-Security=max-age=31536000; includeSubDomains; preload -traefik.http.routers.jwt-router.middlewares=jwt-headers - {% endif %} # Additional labels (if any) specified by the user