matrix: Cleanup template if conditions
This commit is contained in:
parent
2a53b3bacc
commit
8e3918d680
1 changed files with 3 additions and 3 deletions
|
@ -119,7 +119,7 @@ services:
|
||||||
{% if proxy_network is defined %}
|
{% if proxy_network is defined %}
|
||||||
- "traefik.docker.network={{ proxy_network }}"
|
- "traefik.docker.network={{ proxy_network }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if proxy_hiddenservice['content'] is defined %}
|
{% if proxy_hiddenservice is defined and proxy_hiddenservice.content is defined %}
|
||||||
- "traefik.http.middlewares.matrix-delegate.headers.customresponseheaders.alt-svc:h2={{ proxy_hiddenservice['content'] | b64decode | trim }}:443; ma=2592000"
|
- "traefik.http.middlewares.matrix-delegate.headers.customresponseheaders.alt-svc:h2={{ proxy_hiddenservice['content'] | b64decode | trim }}:443; ma=2592000"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
restart: always
|
restart: always
|
||||||
|
@ -153,7 +153,7 @@ services:
|
||||||
{% if proxy_network is defined %}
|
{% if proxy_network is defined %}
|
||||||
- "traefik.docker.network={{ proxy_network }}"
|
- "traefik.docker.network={{ proxy_network }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if proxy_hiddenservice['content'] is defined %}
|
{% if proxy_hiddenservice is defined and proxy_hiddenservice.content is defined %}
|
||||||
- "traefik.http.middlewares.matrix-elementweb.headers.customresponseheaders.alt-svc:h2={{ proxy_hiddenservice['content'] | b64decode | trim }}:443; ma=2592000"
|
- "traefik.http.middlewares.matrix-elementweb.headers.customresponseheaders.alt-svc:h2={{ proxy_hiddenservice['content'] | b64decode | trim }}:443; ma=2592000"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -191,7 +191,7 @@ services:
|
||||||
{% if proxy_network is defined %}
|
{% if proxy_network is defined %}
|
||||||
- "traefik.docker.network={{ proxy_network }}"
|
- "traefik.docker.network={{ proxy_network }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if proxy_hiddenservice['content'] is defined %}
|
{% if proxy_hiddenservice is defined and proxy_hiddenservice.content is defined %}
|
||||||
- "traefik.http.middlewares.matrix-webhooks.headers.customresponseheaders.alt-svc:h2={{ proxy_hiddenservice['content'] | b64decode | trim }}:443; ma=2592000"
|
- "traefik.http.middlewares.matrix-webhooks.headers.customresponseheaders.alt-svc:h2={{ proxy_hiddenservice['content'] | b64decode | trim }}:443; ma=2592000"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if proxy_network is defined %}
|
{% if proxy_network is defined %}
|
||||||
|
|
Loading…
Add table
Reference in a new issue