Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jpradoar/docker-tls-nginx

NGINX + Certbot + Let’s Encrypt SSL certificates
https://github.com/jpradoar/docker-tls-nginx

alpine-linux certbot docker dockerfile https lets-encrypt letsencrypt nignx ssl ssl-certificates tls tls-certificate

Last synced: about 1 month ago
JSON representation

NGINX + Certbot + Let’s Encrypt SSL certificates

Awesome Lists containing this project

README

        

# NGINX + Certbot + Let's Encrypt (docker-tls-nginx)

### Short description
Certbot and letsencrypt require a first validation over http (port 80). If you run an nginx configured with https and http auto-redirect to 443 letsencrypt can't validate your environment.

For this reason I created this simple docker-compose and script that deploy a docker compose with a step procedure to start, validate and deploy full TLS website.

By the way, the nginx.conf has a lot configuration to use nginx (and your web server) with some best practices.

Feel free to configure as you need ...and, obviously, send me a PR ;)

### prerequisites:
- a server with public ip
- a dns associated to that IP address

### How to run:
sh run.sh

### Example:
sh run.sh superduperdemo.com [email protected]