Skip to content
Snippets Groups Projects
Commit a44ea130 authored by Robin Sonnabend's avatar Robin Sonnabend
Browse files

Add location-option autoindex

parent 1ea936a8
No related branches found
No related tags found
No related merge requests found
...@@ -12,6 +12,8 @@ ...@@ -12,6 +12,8 @@
{% endif %} {% endif %}
{% if location.indices is defined %} {% if location.indices is defined %}
index {{location.indices|join(" ")}}; index {{location.indices|join(" ")}};
{% elif location.autoindex is defined and location.autoindex %}
autoindex on;
{% endif %} {% endif %}
{% if location.error_pages is defined %} {% if location.error_pages is defined %}
{% for error_page in location.error_pages %} {% for error_page in location.error_pages %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment