mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-11-30 03:37:22 +07:00
Apps vhosts should without root and created dirs
This commit is contained in:
1 parent
7f56db76e0
commit
dd97e5ec79
4 files changed
+8
-3
No files matched your search
+2
-2
@@ -23,7 +23,7 @@
|
||||
with_items: nginx_vhosts
|
||||
when: >
|
||||
item.root is not defined and
|
||||
(item.template is defined and item.template != '_proxy') and
|
||||
(item.template is defined and item.template not in nginx_templates_no_dir) and
|
||||
(item.delete is not defined or not item.delete) and
|
||||
item.redirect_to is not defined
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
with_items: nginx_vhosts
|
||||
when: >
|
||||
item.root is not defined and
|
||||
(item.template is defined and item.template != '_proxy') and
|
||||
(item.template is defined and item.template not in nginx_templates_no_dir) and
|
||||
(item.delete is not defined or not item.delete) and
|
||||
item.redirect_to is not defined
|
||||
|
||||
|
||||
Reference in new issue
Block a user