Skip to content

Commit 556b336

Browse files
authored
Merge pull request nginx-proxy#1115 from kamermans/docs/ocsp-stapling-info
Added docs on enabling OCSP Stapling
2 parents 71225a2 + d7e939d commit 556b336

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,15 @@ to identify the certificate to be used. For example, a certificate for `*.foo.c
237237
could be named `shared.crt` and `shared.key`. A container running with `VIRTUAL_HOST=foo.bar.com`
238238
and `CERT_NAME=shared` will then use this shared cert.
239239

240+
#### OCSP Stapling
241+
To enable OCSP Stapling for a domain, `nginx-proxy` looks for a PEM certificate containing the trusted
242+
CA certificate chain at `/etc/nginx/certs/<domain>.chain.pem`, where `<domain>` is the domain name in
243+
the `VIRTUAL_HOST` directive. The format of this file is a concatenation of the public PEM CA
244+
certificates starting with the intermediate CA most near the SSL certificate, down to the root CA. This is
245+
often referred to as the "SSL Certificate Chain". If found, this filename is passed to the NGINX
246+
[`ssl_trusted_certificate` directive](http://nginx.org/en/docs/http/ngx_http_ssl_module.html#ssl_trusted_certificate)
247+
and OCSP Stapling is enabled.
248+
240249
#### How SSL Support Works
241250

242251
The default SSL cipher configuration is based on the [Mozilla intermediate profile](https://wiki.mozilla.org/Security/Server_Side_TLS#Intermediate_compatibility_.28default.29) which

0 commit comments

Comments
 (0)