Description
NGINX-LE is a small Docker image based on Alpine that runs Nginx as a web server or reverse proxy with built-in Let's Encrypt support. You configure it through a docker-compose.yml file: set your timezone, turn on LETSENCRYPT to have certificates issued and renewed automatically, and give your email and domain, or a comma-separated list of domains. If you prefer your own certificates, switch Let's Encrypt off and pass the certificate, key and chain instead. Extra certbot options can be added through an environment variable. Site configuration comes from your own service.conf based on a provided example; several service*.conf files can be mapped in, or a whole directory mounted, and stream*.conf files are included in Nginx's stream section for TCP and UDP proxying. Config files support environment variable replacement and envsubst templates.…
Highlights
- Automatic Let's Encrypt issuance and renewal
- Multiple domains per certificate
- Bring-your-own certificate option
- Multiple service and stream config files
- Environment variable substitution in configs
- Alpine-based image, prebuilt or self-built
Ratings & Reviews
No ratings yet
Be the first to rate Nginx Le.
People also visit
SWAG (Secure Web Application Gateway)
Nginx webserver and reverse proxy with PHP support, built-in Certbot

nginx-configuration
Configure Nginx web server for high-performance reverse proxy, load balancing
Simple Acme
A simple cross platform ACME client (for use with Let's Encrypt et al.)
Nginx Le FAQ
What is NGINX-LE?
An Alpine-based Docker image of Nginx with integrated Let's Encrypt certificate installation and renewal.
How do I enable automatic certificates?
In docker-compose.yml set LETSENCRYPT=true, LE_EMAIL to your email and LE_FQDN to your domain or a comma-separated list of domains.
Can I use my own certificate?
Yes. Set LETSENCRYPT=false and provide SSL_CERT, SSL_KEY and SSL_CHAIN_CERT.
How do I add my site configuration?
Copy etc/service-example.conf to etc/service.conf, keep the ssl directives, and map it in docker-compose.yml. Multiple service*.conf files or a mounted directory also work.
What are the best Nginx Le alternatives?
Popular alternatives to Nginx Le include Simple Acme, Dnsweaver and DockFlare. See all Nginx Le alternatives
