mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-07 08:02:30 +00:00
simplify template conditional
This commit is contained in:
parent
bfb61e776e
commit
8238d65e5f
|
@ -2,7 +2,7 @@
|
|||
|
||||
{% 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 }};
|
||||
root {{ matrix_nginx_proxy_data_path_in_container }};
|
||||
{% else %}
|
||||
root {{ matrix_nginx_proxy_data_path_in_container if matrix_nginx_proxy_enabled else matrix_nginx_proxy_data_path }}/matrix-domain;
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user