Skip to content

Instantly share code, notes, and snippets.

@charly-vega
Last active October 14, 2016 14:03
Show Gist options
  • Save charly-vega/f9a884edf958a52852555cf7f79bf948 to your computer and use it in GitHub Desktop.
Save charly-vega/f9a884edf958a52852555cf7f79bf948 to your computer and use it in GitHub Desktop.
cd
./certbot-auto certonly -n --standalone \
-d www.example1.com \
-d www.example2.com \
--expand \
--pre-hook "service nginx stop" \
--post-hook "service nginx start"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment