Skip to content
This repository has been archived by the owner on Nov 16, 2018. It is now read-only.

Latest commit

 

History

History
19 lines (13 loc) · 522 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 522 Bytes

Docker Nginx Lets Encrypt

Before you do anything, you need to generate a dhparam key. If you have openssl installed on your machine, you can run:

openssl dhparam -out /certs/dhparam.pem 2048

Or a container:

docker run -ti -v $PWD/data/certs:/certs digitalcanvasdesign/openssl dhparam -out /certs/dhparam.pem 2048

We need to make sure the dhparam.pem key that we just generated was created is mounted into your container at the following location:

/etc/nginx/ssl/dhparam.pem