Last active
January 5, 2019 13:42
-
-
Save dukex/9aac9d11e022358163454717584109e7 to your computer and use it in GitHub Desktop.
Docker cerbot
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -it --rm \ | |
-v /etc/letsencrypt:/etc/letsencrypt \ | |
-v /var/lib/letsencrypt:/var/lib/letsencrypt \ | |
-v /var/www/letsencrypt:/var/www/letsencrypt \ | |
-v "/var/log/letsencrypt:/var/log/letsencrypt" \ | |
certbot/certbot \ | |
certonly --webroot \ | |
--register-unsafely-without-email --agree-tos \ | |
--webroot-path=/var/www/letsencrypt \ | |
-d DOMAIN |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -it --rm \ | |
-v /etc/letsencrypt:/etc/letsencrypt \ | |
-v /var/lib/letsencrypt:/var/lib/letsencrypt \ | |
-v /var/www/letsencrypt:/var/www/letsencrypt \ | |
-v "/var/log/letsencrypt:/var/log/letsencrypt" \ | |
certbot/certbot \ | |
renew |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment