asher/nginx-ssl-bundled is a docker base image for bundling your ssl certificate.
It is based on dockerfile/nginx base image.
Create a Dockerfile in a directory containing ssl.crt and ssl.key with the following content:
FROM asher/nginx-ssl-bundled
Run the following command in your application directory:
docker build -t nginx-ssl .
Add the following lines to your nginx server block
ssl on;
ssl_certificate /etc/ssl/ssl.crt;
ssl_certificate_key /etc/ssl/ssl.key;
Content type
Image
Digest
sha256:3dfc60fbf…
Size
195.6 MB
Last updated
almost 11 years ago
docker pull asher/nginx-ssl-bundled