Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save iolufemi/1abbe4f0072d868e8e4a4e63319d27e7 to your computer and use it in GitHub Desktop.
Save iolufemi/1abbe4f0072d868e8e4a4e63319d27e7 to your computer and use it in GitHub Desktop.
letsencrypt
sudo docker run --rm --publish 80:80 --publish 443:443 --name letsencrypt \
--volume "/tmp/letsencrypt/etc/:/etc/letsencrypt" \
--volume "/tmp/letsencrypt/var/:/var/lib/letsencrypt" \
quay.io/letsencrypt/letsencrypt:latest certonly --standalone \
-d domain.name -d www.domain.name --agree-tos --email [email protected]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment