updated nginx template

This commit is contained in:
Paul 2021-04-20 23:27:54 +02:00
parent e48d110f05
commit 4dcabc2127

View File

@ -13,7 +13,7 @@ server {
{%- endif %}
server_name {{ vhost_name }};
{%- if not proxy %}
root {{ root_dir }};
root "{{ root_dir }}";
{%- endif %}
location / {
{%- if proxy %}
@ -26,7 +26,9 @@ server {
{%- if autoindex %}
autoindex on;
autoindex_localtime on;
{%- endif %}
{%- else %}
index index.html index.rss;
{% endif %}
}
{%- for dir in dirs %}