Make it possible to serve static websites from the base domain

This commit is contained in:
Slavi Pantaleev
2019-10-03 11:23:45 +03:00
parent 1dd1f9602f
commit 810d0fb0e4
3 changed files with 38 additions and 3 deletions

View File

@ -82,7 +82,7 @@
mode: 0644
owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_username }}"
when: matrix_nginx_proxy_base_domain_serving_enabled|bool
when: matrix_nginx_proxy_base_domain_serving_enabled|bool and matrix_nginx_proxy_base_domain_homepage_enabled|bool
- name: Ensure Matrix nginx-proxy configuration for base domain exists
template: