2021-01-03 00:29:24 +01:00
|
|
|
#default
|
|
|
|
server
|
|
|
|
{
|
|
|
|
server_name {{domain}};
|
|
|
|
|
2023-09-02 13:13:28 +02:00
|
|
|
{% include 'roles/letsencrypt/templates/ssl_header.j2' %}
|
2021-01-03 00:29:24 +01:00
|
|
|
|
2024-01-03 12:07:19 +01:00
|
|
|
{% if nginx_matomo_tracking | bool %}
|
2023-11-18 20:02:55 +01:00
|
|
|
{% include 'roles/nginx-matomo-tracking/templates/matomo-tracking.conf.j2' %}
|
|
|
|
{% endif %}
|
|
|
|
|
2022-11-11 15:27:19 +01:00
|
|
|
charset utf-8;
|
|
|
|
|
2021-01-03 00:29:24 +01:00
|
|
|
location /
|
|
|
|
{
|
2023-11-17 16:53:56 +01:00
|
|
|
root {{nginx_homepage_root}};
|
2021-01-03 00:29:24 +01:00
|
|
|
index index.html index.htm;
|
|
|
|
}
|
2024-01-19 11:52:08 +01:00
|
|
|
|
|
|
|
location /.well-known/ {
|
|
|
|
alias {{nginx_well_known_root}};
|
|
|
|
allow all;
|
|
|
|
default_type "text/plain";
|
|
|
|
autoindex on;
|
|
|
|
}
|
2021-01-03 00:29:24 +01:00
|
|
|
}
|