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 @@
{% 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 %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment