Added template engine

This commit is contained in:
Jamie Curnow
2021-07-21 22:34:08 +10:00
parent b9b5cc70bc
commit 1bb66c13d5
18 changed files with 7823 additions and 11 deletions

View File

@@ -0,0 +1,15 @@
server {
listen 80;
{{#if ipv6}}
listen [::]:80;
{{/if}}
server_name{{#each domain_names}} {{this}}{{/each}};
access_log {{npm_data_dir}}/logs/acme-requests_access.log standard;
error_log {{npm_data_dir}}/logs/acme-requests_error.log warn;
{{nginx_conf_dir}}/npm/conf.d/include/letsencrypt-acme-challenge.conf;
location / {
return 404;
}
}