From f00a216fefaaaf6830cf42af78842ae6bb58779a Mon Sep 17 00:00:00 2001 From: Tobias Hachmer Date: Sun, 29 Oct 2017 21:24:48 +0100 Subject: [PATCH] Role service-nginx: add autoindex options to default vhost --- roles/service-nginx/templates/default.conf.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/service-nginx/templates/default.conf.j2 b/roles/service-nginx/templates/default.conf.j2 index 15892b6..f09ede1 100644 --- a/roles/service-nginx/templates/default.conf.j2 +++ b/roles/service-nginx/templates/default.conf.j2 @@ -8,5 +8,7 @@ server { root /var/www/html; location / { index index.html; + autoindex on; + autoindex_exact_size off; } }