Minimal nginx docker image with automatic SSL certificate management.
1.2K
Minimal nginx docker image with automatic SSL certificate management.
docker-compose.yml (https://github.com/vovanmozg/docker-nginx-ssl/blob/main/docker-compose.yml)environment:
- [email protected]
cp data/conf.d/example-auto-ssl.conf.disabled data/conf.d/your-domain.com.conf
Replace every example.com with your-domain.com.
Set proxy_pass to your backend server.
docker-compose up -d
# Check logs
docker-compose logs -f nginx-ssl
# Check HTTPS
curl -I https://example.com
Content type
Image
Digest
sha256:cca97f6dd…
Size
43.9 MB
Last updated
10 months ago
docker pull vovan/nginx-ssl