GMH v0.5.7... maybe!
This commit is contained in:
parent
24b89f8288
commit
bfb61e776e
@ -62,9 +62,3 @@
|
|||||||
group: matrix
|
group: matrix
|
||||||
mode: '0574'
|
mode: '0574'
|
||||||
when: customise_base_domain_website is defined
|
when: customise_base_domain_website is defined
|
||||||
|
|
||||||
- name: Ensure erroneous /chroot/website/matrix-domain location doesn't exist
|
|
||||||
file:
|
|
||||||
path: /chroot/website/matrix-domain
|
|
||||||
state: absent
|
|
||||||
when: customise_base_domain_website is defined
|
|
||||||
|
@ -127,7 +127,7 @@
|
|||||||
mode: 0750
|
mode: 0750
|
||||||
owner: "{{ matrix_user_username }}"
|
owner: "{{ matrix_user_username }}"
|
||||||
group: "{{ matrix_user_groupname }}"
|
group: "{{ matrix_user_groupname }}"
|
||||||
when: matrix_nginx_proxy_base_domain_serving_enabled|bool
|
when: matrix_nginx_proxy_base_domain_serving_enabled|bool and not matrix_awx_enabled|bool
|
||||||
|
|
||||||
- name: Ensure Matrix nginx-proxy homepage for base domain exists
|
- name: Ensure Matrix nginx-proxy homepage for base domain exists
|
||||||
copy:
|
copy:
|
||||||
@ -136,7 +136,7 @@
|
|||||||
mode: 0644
|
mode: 0644
|
||||||
owner: "{{ matrix_user_username }}"
|
owner: "{{ matrix_user_username }}"
|
||||||
group: "{{ matrix_user_groupname }}"
|
group: "{{ matrix_user_groupname }}"
|
||||||
when: matrix_nginx_proxy_base_domain_serving_enabled|bool and matrix_nginx_proxy_base_domain_homepage_enabled|bool
|
when: matrix_nginx_proxy_base_domain_serving_enabled|bool and matrix_nginx_proxy_base_domain_homepage_enabled|bool and not matrix_awx_enabled|bool
|
||||||
|
|
||||||
- name: Ensure Matrix nginx-proxy configuration for base domain exists
|
- name: Ensure Matrix nginx-proxy configuration for base domain exists
|
||||||
template:
|
template:
|
||||||
|
@ -1,7 +1,11 @@
|
|||||||
#jinja2: lstrip_blocks: "True"
|
#jinja2: lstrip_blocks: "True"
|
||||||
|
|
||||||
{% macro render_vhost_directives() %}
|
{% macro render_vhost_directives() %}
|
||||||
|
{% if matrix_awx_enabled and not matrix_nginx_proxy_base_domain_homepage_enabled %}
|
||||||
|
root {{ matrix_nginx_proxy_data_path_in_container if matrix_nginx_proxy_enabled else matrix_nginx_proxy_data_path }};
|
||||||
|
{% else %}
|
||||||
root {{ matrix_nginx_proxy_data_path_in_container if matrix_nginx_proxy_enabled else matrix_nginx_proxy_data_path }}/matrix-domain;
|
root {{ matrix_nginx_proxy_data_path_in_container if matrix_nginx_proxy_enabled else matrix_nginx_proxy_data_path }}/matrix-domain;
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
gzip on;
|
gzip on;
|
||||||
gzip_types text/plain application/json;
|
gzip_types text/plain application/json;
|
||||||
|
Loading…
Reference in New Issue
Block a user