Skip to content

Commit 1dce981

Browse files
authored
Merge pull request nginx-proxy#984 from sydoveton/master
OCSP Stapling was not working
2 parents 000a447 + 6e9dc34 commit 1dce981

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
@@ -253,10 +253,10 @@ server {
253253
ssl_dhparam {{ printf "/etc/nginx/certs/%s.dhparam.pem" $cert }};
254254
{{ end }}
255255

256-
{{ if (exists (printf "/etc/nginx/certs/%s.chain.crt" $cert)) }}
256+
{{ if (exists (printf "/etc/nginx/certs/%s.chain.pem" $cert)) }}
257257
ssl_stapling on;
258258
ssl_stapling_verify on;
259-
ssl_trusted_certificate {{ printf "/etc/nginx/certs/%s.chain.crt" $cert }};
259+
ssl_trusted_certificate {{ printf "/etc/nginx/certs/%s.chain.pem" $cert }};
260260
{{ end }}
261261

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

0 commit comments

Comments
 (0)