Apps vhosts should without root and created dirs

This commit is contained in:
Emilien Mantel
2016-01-22 09:46:43 +01:00
parent 7f56db76e0
commit dd97e5ec79
4 changed files with 8 additions and 3 deletions

View File

@@ -13,7 +13,7 @@
{% block template_local_content %}
location ~ /\.ht {
deny all;
deny all;
}
location /backuppc/image {

View File

@@ -4,6 +4,7 @@
{% if item.root is defined %}
root {{ item.root }};
{% endif %}
{% endblock %}
{% block template_try_files %}
include /etc/nginx/proxy_params;