Skip to content

Instantly share code, notes, and snippets.

@xergio
Created June 6, 2018 19:59
Show Gist options
  • Save xergio/af929ce4baad346e598a7fb059c00a3e to your computer and use it in GitHub Desktop.
Save xergio/af929ce4baad346e598a7fb059c00a3e to your computer and use it in GitHub Desktop.
nginx + letsencrypt
$ add-apt-repository ppa:certbot/certbot
$ apt update
$ apt install python-certbot-nginx
$ certbot --nginx -d example.com -d www.example.com
$ certbot renew
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment