|
|
@@ -181,13 +181,6 @@ |
|
|
mode: 0644 |
|
|
mode: 0644 |
|
|
when: matrix_nginx_proxy_base_domain_serving_enabled|bool |
|
|
when: matrix_nginx_proxy_base_domain_serving_enabled|bool |
|
|
|
|
|
|
|
|
- name: Ensure Matrix wsproxy-proxy configuration for base domain exists |
|
|
|
|
|
template: |
|
|
|
|
|
src: "{{ role_path }}/templates/nginx/conf.d/matrix-mautrix-wsproxy.conf.j2" |
|
|
|
|
|
dest: "{{ matrix_nginx_proxy_confd_path }}/matrix-mautrix-wsproxy.conf" |
|
|
|
|
|
mode: 0644 |
|
|
|
|
|
when: matrix_mautrix_wsproxy_enabled|bool |
|
|
|
|
|
|
|
|
|
|
|
# |
|
|
# |
|
|
# Tasks related to setting up matrix-nginx-proxy |
|
|
# Tasks related to setting up matrix-nginx-proxy |
|
|
# |
|
|
# |
|
|
@@ -315,12 +308,6 @@ |
|
|
state: absent |
|
|
state: absent |
|
|
when: "not matrix_nginx_proxy_base_domain_serving_enabled|bool" |
|
|
when: "not matrix_nginx_proxy_base_domain_serving_enabled|bool" |
|
|
|
|
|
|
|
|
- name: Ensure Matrix wsproxy-proxy configuration for base domain deleted |
|
|
|
|
|
template: |
|
|
|
|
|
path: "{{ matrix_nginx_proxy_confd_path }}/matrix-mautrix-wsproxy.conf" |
|
|
|
|
|
state: absent |
|
|
|
|
|
when: "not matrix_mautrix_wsproxy_enabled|bool" |
|
|
|
|
|
|
|
|
|
|
|
- name: Ensure Matrix nginx-proxy configuration for main config override deleted |
|
|
- name: Ensure Matrix nginx-proxy configuration for main config override deleted |
|
|
file: |
|
|
file: |
|
|
path: "{{ matrix_nginx_proxy_base_path }}/nginx.conf" |
|
|
path: "{{ matrix_nginx_proxy_base_path }}/nginx.conf" |
|
|
|