Container that runs certbot and nginx together in order to provide support for Let's Encrypt.
267
A Docker container that runs certbot and nginx together in order to provide support for Let's Encrypt. Supports autorenewal.
View source at https://github.com/ollien/docker-nginx-certbot
Pull the container from Docker Hub.
docker pull ollien/nginx-certbot
Edit your certbot-config.json according to the configuration guidelines below.
Start the Docker container.
docker run \
-v /path/to/nginx0config:/etc/nginx/conf.d/default.conf \
-v /path/to/certbot-config.json:/certbot-config.json \
-p 80:80 \
-p 443:443 \
ollien:nginx-certbot
All containers require a certbot-config.json. This file must be in JSON format with the following format.
| Key | Usage |
|---|---|
| account_id | Your Let's Encrypt account id. Cannot be used in pair with email. |
Your Let's Encrypt email address. Cannot be used in pair with account_id. | |
| domains | An array of the domains you wish to register with Let's Encrypt. |
MIT
Content type
Image
Digest
Size
131.4 MB
Last updated
about 9 years ago
docker pull ollien/nginx-certbot