Settings

Theme

Show HN: Nginx and Let's Encrypt in 3 minutes using Docker Compose and CLI tool

github.com

3 points by eugene-khyst 2 years ago · 0 comments · 1 min read

Reader

The open source project <https://github.com/eugene-khyst/letsencrypt-docker-compose> provides a Docker Compose project and a CLI configuration management tool to automatically obtain and renew free Let's Encrypt SSL/TLS certificates and set up HTTPS in Nginx for multiple domain names.

Nginx is configured to support IPv4, IPv6, HTTP/1.1, HTTP/2, and optionally, WebSocket, and can be configured to serve static content, as a reverse proxy for a backend, or for PHP-FPM.

When using Kubernetes Let's Encrypt SSL/TLS certificates can be easily obtained and installed using cloud native certificate management solutions.

For simple websites and applications, Kubernetes is too much overhead and Docker Compose is more suitable. Thus, this project was created to easily manage, install and auto-renew free SSL/TLS certificates with Docker Compose.

In addition to obtaining and automatically renewing SSL/TLS certificates, the following features are supported:

* Switching from staging to a Let's Encrypt production environment; * Adding new domains without downtime; * Removing existing domains without downtime; * Manually renewing all Let's Encrypt certificates; * Running on a local machine not directed to by DNS records; * Advanced Nginx configuration.

Documentation is available on GitHub <https://github.com/eugene-khyst/letsencrypt-docker-compose>.

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection