This image provides an installation of nginx and the letsencrypt client to easily create SSL certificates for your domain.
The Dockerfile which was used to create the image can be found here. Usage Ports
The image exposes the default ports for http and https:
80 - http
443 - https
SSL
The image can be used as is. Depending on the ENV Varables provided at startup, the SSL certifiacte will be created via the letsencrypt client.
The following ENV variables are defined for customization:
LE_MAIL: your email address
LE_DOMAIN: the domain of your site, used for the certificate to be created and validation
LE_ARGS: additional args to the letsencrypt client (i.e. --rsa-key-size)
Volumes
The following volumes are defined:
/usr/share/nginx/www: contains the default nginx webroot
/etc/nginx: contains nginx config files
Sample
nginx: image: fbrx/rpi-nginx-letsencrypt environment: - LE_MAIL=your@email - LE_DOMAIN= ports: - 80:80 - 443:443
Content type
Image
Digest
Size
326.5 MB
Last updated
almost 6 years ago
docker pull negov62438/rpi-nginx-letsencrypt