1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2025-07-02 06:45:45 +00:00

fix indention, and file nameing

This commit is contained in:
Kuo-Cheng Yeu
2015-05-21 23:43:09 +08:00
parent da0191a778
commit d74a4146c8
2 changed files with 5 additions and 5 deletions

View File

@ -105,9 +105,9 @@ server {
ssl_certificate /etc/nginx/certs/{{ (printf "%s.crt" $cert) }};
ssl_certificate_key /etc/nginx/certs/{{ (printf "%s.key" $cert) }};
{{ if (exists (printf "/etc/nginx/certs/%s.dhparams.pem" $cert)) }}
ssl_dhparam {{ printf "/etc/nginx/certs/%s.dhparams.pem" $cert }};
{{ end }}
{{ if (exists (printf "/etc/nginx/certs/%s.dhparam.pem" $cert)) }}
ssl_dhparam {{ printf "/etc/nginx/certs/%s.dhparam.pem" $cert }};
{{ end }}
add_header Strict-Transport-Security "max-age=31536000";