27 lines
501 B
Django/Jinja

#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.directories.homepage}};
index index.html index.htm;
}
location /.well-known/ {
alias {{nginx.directories.well_known}};
allow all;
default_type "text/plain";
autoindex on;
}
}