diff --git a/webserver/templates/location-header b/webserver/templates/location-header index 7ec9021be470694ae3fc44eb0ec951630b7ef5d4..48f2fe0a967a51e9b25fc9c1275096b44b226712 100644 --- a/webserver/templates/location-header +++ b/webserver/templates/location-header @@ -12,6 +12,8 @@ {% endif %} {% if location.indices is defined %} index {{location.indices|join(" ")}}; + {% elif location.autoindex is defined and location.autoindex %} + autoindex on; {% endif %} {% if location.error_pages is defined %} {% for error_page in location.error_pages %}