Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/jpradoar/docker-tls-nginx
- Owner: jpradoar
- Created: 2024-11-19T19:40:56.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-11-19T20:02:20.000Z (about 1 month ago)
- Last Synced: 2024-11-19T21:18:28.441Z (about 1 month ago)
- Topics: alpine-linux, certbot, docker, dockerfile, https, lets-encrypt, letsencrypt, nignx, ssl, ssl-certificates, tls, tls-certificate
- Language: Shell
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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]