Skip to content

Instantly share code, notes, and snippets.

@roikiermedia
Created February 8, 2016 23:15
Show Gist options
  • Save roikiermedia/8c02b0115df81dfb77ae to your computer and use it in GitHub Desktop.
Save roikiermedia/8c02b0115df81dfb77ae to your computer and use it in GitHub Desktop.
#! /bin/bash
service nginx stop && ./letsencrypt-auto certonly --renew-by-default -d $DOMAIN && service nginx start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment