commit | 6505bc5282dc8ba688bb11b7325e9293938265e2 | [log] [tgz] |
---|---|---|
author | Filip Pytloun <filip@pytloun.cz> | Fri Mar 11 14:05:31 2016 +0100 |
committer | Filip Pytloun <filip@pytloun.cz> | Fri Mar 11 14:05:37 2016 +0100 |
tree | acae69021f014dd2980b479fbfdabe3d7514caec | |
parent | 16feebd1b3d4624bf3c495846d1ca7b597182338 [diff] |
Option to enable autoindex
diff --git a/nginx/files/static.conf b/nginx/files/static.conf index 308e207..f6c8006 100644 --- a/nginx/files/static.conf +++ b/nginx/files/static.conf
@@ -14,6 +14,9 @@ {%- endif %} index index.html index.htm; + {%- if site.get('autoindex', False) %} + autoindex on; + {%- endif %} {%- if site.webdav is defined %}