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,8 @@
{{#if certificate}}
{{#if ssl_forced}}
{{#if hsts_enabled}}
# HSTS (ngx_http_headers_module is required) (63072000 seconds = 2 years)
add_header Strict-Transport-Security "max-age=63072000;{{#if hsts_subdomains}} includeSubDomains;{{/if}} preload" always;
{{/if}}
{{/if}}
{{/if}}