Sign inSign up

ollien/nginx-certbot

By ollien

Updated about 9 years ago

Container that runs certbot and nginx together in order to provide support for Let's Encrypt.

Image
1

267

ollien/nginx-certbot repository overview

NGINX/Certbot Docker Image

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

Installation

  1. Pull the container from Docker Hub.

    docker pull ollien/nginx-certbot

  2. Edit your certbot-config.json according to the configuration guidelines below.

  3. 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
    

Configuration

All containers require a certbot-config.json. This file must be in JSON format with the following format.

KeyUsage
account_idYour Let's Encrypt account id. Cannot be used in pair with email.
emailYour Let's Encrypt email address. Cannot be used in pair with account_id.
domainsAn array of the domains you wish to register with Let's Encrypt.

License

MIT

Tag summary

Content type

Image

Digest

Size

131.4 MB

Last updated

about 9 years ago

docker pull ollien/nginx-certbot