diff --git a/roles/nginx/application/templates/root.conf b/roles/nginx/application/templates/root.conf index f890e04..9430e3f 100644 --- a/roles/nginx/application/templates/root.conf +++ b/roles/nginx/application/templates/root.conf @@ -1,3 +1 @@ include {{ nginx_snippets_directory }}/global; - -index index.html index.htm; diff --git a/roles/nginx/static/templates/static.conf b/roles/nginx/static/templates/static.conf index 491a48c..09d2652 100644 --- a/roles/nginx/static/templates/static.conf +++ b/roles/nginx/static/templates/static.conf @@ -7,6 +7,7 @@ server { ssl_certificate {{ acme_certificate_location }}; ssl_certificate_key {{ acme_key_location }}; + index index.html index.htm; root {{ root_directory }}; include {{ nginx_snippets_directory }}/https;