nginx: Moved index directive from root snippet to specific static role

dehydrated
Felix Stupp 5 years ago
parent dd48448828
commit f2c92e94e2
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -1,3 +1 @@
include {{ nginx_snippets_directory }}/global; include {{ nginx_snippets_directory }}/global;
index index.html index.htm;

@ -7,6 +7,7 @@ server {
ssl_certificate {{ acme_certificate_location }}; ssl_certificate {{ acme_certificate_location }};
ssl_certificate_key {{ acme_key_location }}; ssl_certificate_key {{ acme_key_location }};
index index.html index.htm;
root {{ root_directory }}; root {{ root_directory }};
include {{ nginx_snippets_directory }}/https; include {{ nginx_snippets_directory }}/https;

Loading…
Cancel
Save