mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-02-22 12:29:39 +01:00
25 lines
679 B
Django/Jinja
25 lines
679 B
Django/Jinja
server
|
|
{
|
|
server_name {{domains[application_id]}};
|
|
|
|
{% include 'roles/letsencrypt/templates/ssl_header.j2' %}
|
|
|
|
{% include 'roles/nginx-modifier-all/templates/global.includes.conf.j2'%}
|
|
charset utf-8;
|
|
|
|
location /
|
|
{
|
|
alias {{nginx.directories.data.files}}; {# Path to your file directory #}
|
|
autoindex on; {# Enable directory listing #}
|
|
autoindex_exact_size off; {# Display sizes in a human-readable format #}
|
|
autoindex_localtime on; {# Show local time #}
|
|
}
|
|
|
|
location /.well-known/ {
|
|
alias {{nginx.directories.data.well_known}};
|
|
allow all;
|
|
default_type "text/plain";
|
|
autoindex on;
|
|
}
|
|
}
|