eadwinCode / docker-nginx-certbot

nginx with certbot and lua

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

really/nginx-certbot

Docker container providing nginx with lua and certbot for Let's Encrypt SSL certificates

GitHub issues GitHub license Docker Pulls

Launch nginx using the default config:

docker run --name nginx-certbot \
  --restart=always \
  --net=host \
  -v /data/nginx/conf.d:/etc/nginx/conf.d:rw \
  -v /data/letsencrypt:/etc/letsencrypt:rw \
  -p 80:80 -p 443:443 -d \
  really/nginx-certbot

Certbot

Easily add SSL security to your nginx hosts with certbot. docker exec -it nginx-certbot /bin/sh will bring up a prompt at which time you can certbot to your hearts content.

or

docker exec -it nginx-certbot certbot --no-redirect --must-staple -d example.com

It even auto-renew's for you every day!

About

nginx with certbot and lua

License:Apache License 2.0


Languages

Language:Shell 100.0%