Skip to content

Commit 6e9dc34

Browse files
author
Sy Doveton
committed
Changed the SSL stapling cert extension to pem from crt. SSL stapling was not working due to the incorrect file extension.
1 parent a6e8fae commit 6e9dc34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nginx.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,10 +222,10 @@ server {
222222
ssl_dhparam {{ printf "/etc/nginx/certs/%s.dhparam.pem" $cert }};
223223
{{ end }}
224224

225-
{{ if (exists (printf "/etc/nginx/certs/%s.chain.crt" $cert)) }}
225+
{{ if (exists (printf "/etc/nginx/certs/%s.chain.pem" $cert)) }}
226226
ssl_stapling on;
227227
ssl_stapling_verify on;
228-
ssl_trusted_certificate {{ printf "/etc/nginx/certs/%s.chain.crt" $cert }};
228+
ssl_trusted_certificate {{ printf "/etc/nginx/certs/%s.chain.pem" $cert }};
229229
{{ end }}
230230

231231
{{ if (and (ne $https_method "noredirect") (ne $hsts "off")) }}

0 commit comments

Comments
 (0)