mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-02-24 09:03:29 +07:00
Apps vhosts should without root and created dirs
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
|
||||
{% block template_local_content %}
|
||||
location ~ /\.ht {
|
||||
deny all;
|
||||
deny all;
|
||||
}
|
||||
|
||||
location /backuppc/image {
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
{% if item.root is defined %}
|
||||
root {{ item.root }};
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block template_try_files %}
|
||||
include /etc/nginx/proxy_params;
|
||||
|
||||
Reference in New Issue
Block a user