computer-playbook/roles/nginx-homepage/templates/homepage.nginx.conf.j2

20 lines
371 B
Plaintext
Raw Normal View History

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
{% if nginx_matomo_tracking_active | default(False) %}
{% include 'roles/nginx-matomo-tracking/templates/matomo-tracking.conf.j2' %}
{% endif %}
charset utf-8;
2021-01-03 00:29:24 +01:00
location /
{
root {{nginx_homepage_root}};
2021-01-03 00:29:24 +01:00
index index.html index.htm;
}
}