Removed default setup of static homepage

This commit is contained in:
2025-01-16 21:11:34 +01:00
parent 9095b00cfb
commit 12e272af22
8 changed files with 22 additions and 13 deletions

View File

@@ -0,0 +1,26 @@
#default
server
{
server_name {{domain}};
{% include 'roles/letsencrypt/templates/ssl_header.j2' %}
{% if nginx_matomo_tracking | bool %}
{% include 'roles/nginx-matomo-tracking/templates/matomo-tracking.conf.j2' %}
{% endif %}
charset utf-8;
location /
{
root {{nginx_homepage_root}};
index index.html index.htm;
}
location /.well-known/ {
alias {{nginx_well_known_root}};
allow all;
default_type "text/plain";
autoindex on;
}
}