Sign inSign up

metal3d/nginx-letsencrypt

By metal3d

•Updated about 9 years ago

Nginx container overdrive with certbot from let's encrypt

Image
0

441

metal3d/nginx-letsencrypt repository overview

⁠Nginx with certonly from Let's Encrypt

This is an override of nginx container with certbot to be able to be certified by let's encrypt.

A volume is also created to be able to store certificates outside the container: /etc/letsencrypt

To get this image:

docker pull metal3d/nginx-letsencrypt

Then start it with volumes to configure nginx, and store certificates:

docker run --name="nginx" \
    -v ./letsencrypt:/etc/letsencrypt \
    -v ./conf.d:/etc/nginx/conf.d \
    metal3d/nginx-letsencrypt

To certify or renew you website:

docker exec -it nginx certbot certony ...
docker exec -it nginx certbot renew ...

Tag summary

Content type

Image

Digest

Size

67 MB

Last updated

about 9 years ago

docker pull metal3d/nginx-letsencrypt