Nginx Auto SSL
Nginx Auto SSL is a Docker-based Nginx/OpenResty reverse proxy that automatically obtains and renews Let's Encrypt TLS certificates for self-hosted sites.
Platform availability
Available on 0 of 10 platforms
- Unraid (not listed)
- TrueNAS (not listed)
- Umbrel (not listed)
- ZimaOS (not listed)
- Proxmox (not listed)
- Helm (not listed)
- Mac (not listed)
- Windows (not listed)
- Linux (not listed)
- Any server (not listed)
Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.
32/100 Low
- Maintained
- 0last commit 1115 days ago
- Popular
- 53430 GitHub stars
- Easy to install
- 250 install platforms, install notes, Docker image
- Light to run
- No data
- Security check
- 75no serious findings
Based on 4 of 5 factors.
- GitHub stars
- 430
- Open issues
- 9
- Last commit
- 2023-11-02
- Latest release
- v1.2.0
- License
- MIT
- Activity
- stale
Checked yesterday - source: GitHub (Valian/docker-nginx-auto-ssl)
Resources & Compatibility
ARM (e.g. Raspberry Pi) is supported.
Checked 54 days ago - source: Docker Hub image tags and published docs
First-install notes
- Forward your host port to nginx When starting the Docker container, tell Docker to forward a port on your host to the container's port 80, for example -p 80:80. If you don't do this, browsers on other machines can't send web requests to nginx, so the site looks offline. source
- Link your config template folder Put your nginx .conf.template files in a folder on your host and link (mount) that folder to /etc/nginx/templates inside the container, then set the environment variables (settings you pass with -e) your templates use. If the folder or variables are missing, nginx may start with the wrong or missing site configuration. source
- Let nginx choose worker count Set NGINX_ENTRYPOINT_WORKER_PROCESSES_AUTOTUNE=true so nginx chooses the worker process count (how many nginx helpers handle requests) from your CPUs or CPU limit. Without this, it may keep a default count that doesn't match your hardware. source
- Quick start Set DOMAIN and APP_ADDRESS environment variables to specify the target domain and upstream application address. source
Fetched 48 days ago - each note links to its source
Variants
Alternatives (11)
- Apache HTTP Server - Open-source HTTP server offering cross-platform support, modular architecture, secure configuration, robust content delivery, and extensive…
- BunkerWeb - BunkerWeb is a self-hosted, open-source web application firewall and NGINX-based web server that protects services with secure-by-default s…
- Caddy - Caddy is an extensible web server and reverse proxy that serves Transport Layer Security (TLS) by default, making it simple to secure and r…
- Corvus - Self-hosted reverse proxy and web application firewall with a web console; it provides domain forwarding, free SSL, live traffic monitoring…
- Haproxy - HAProxy is a TCP proxy and a HTTP reverse proxy.
- Microsoft IIS - Internet Information Services (IIS) for Windows® Server is a flexible, secure and easy-to-manage Web server for hosting anything on the Web.
- Træfik Proxy - The Cloud Native Application Proxy Simplify networking complexity while designing, deploying, and operating applications.
- Varnish - Varnish is an open-source HyperText Transfer Protocol (HTTP) accelerator for website operators that serves cached pages from memory in fron…
- lighttpd - Lighttpd is a secure, lightweight web server that uses memory and CPU more efficiently than comparable servers, with FastCGI, CGI, authenti…
- nginx - Nginx is an HTTP web server, reverse proxy, content cache, load balancer, TCP/UDP proxy, and mail proxy server.
- nginx-ui
Checked 40 days ago - source: AlternativeTo
Common questions
How do I map a domain to an upstream application in Nginx Auto SSL?
Set the SITES environment variable as domain=endpoint, for example yourdomain.com=myapp:80 or yourdomain.com=localhost:8080. You can define multiple mappings separated by semicolons, and use _ for the default server.
Can I restrict certificate issuance to specific domains?
Yes, set ALLOWED_DOMAINS to a regex pattern of the domains you want to allow. If it is not set, all domains are accepted.
Where are the Let's Encrypt certificates stored?
Mount a persistent volume to /etc/resty-auto-ssl, such as a Docker named volume called ssl-data. The README examples use this path to keep the auto-SSL data.
What ports and DNS conditions are required for the proxy?
Expose ports 80 and 443, or run the container with host networking. The domain must have a correct DNS entry pointing to the server so requests reach the proxy.
Answers sourced from github.com
Community
- r/selfhosted on Reddit: A definitive guide for Nginx + Let's Encrypt ... (reddit)
- Latest NGINX topics - NGINX Community Forum (other)
- How can we automate NGINX Certificates everytime it expires? (reddit)
- NGINX Forum Announcement (forum)
Collected 48 days ago - public community threads