2021-01-03 00:29:24 +01:00
|
|
|
server
|
|
|
|
{
|
2025-02-19 20:46:14 +01:00
|
|
|
server_name {{domains[application_id]}};
|
2021-01-03 00:29:24 +01:00
|
|
|
|
2023-09-02 13:13:28 +02:00
|
|
|
{% include 'roles/letsencrypt/templates/ssl_header.j2' %}
|
2021-01-03 00:29:24 +01:00
|
|
|
|
2025-02-19 02:00:41 +01:00
|
|
|
{% include 'roles/nginx-modifier-all/templates/global.includes.conf.j2'%}
|
2022-11-11 15:27:19 +01:00
|
|
|
charset utf-8;
|
|
|
|
|
2021-01-03 00:29:24 +01:00
|
|
|
location /
|
|
|
|
{
|
2025-02-19 22:03:17 +01:00
|
|
|
root {{nginx.directories.data.html}};
|
2021-01-03 00:29:24 +01:00
|
|
|
index index.html index.htm;
|
|
|
|
}
|
2024-01-19 11:52:08 +01:00
|
|
|
|
|
|
|
location /.well-known/ {
|
2025-02-19 22:03:17 +01:00
|
|
|
alias {{nginx.directories.data.well_known}};
|
2024-01-19 11:52:08 +01:00
|
|
|
allow all;
|
|
|
|
default_type "text/plain";
|
|
|
|
autoindex on;
|
|
|
|
}
|
2021-01-03 00:29:24 +01:00
|
|
|
}
|