Skip to content

Instantly share code, notes, and snippets.

@yodeah
Created October 17, 2016 14:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yodeah/804c95cf7a7f5e9d20999ec7954c5491 to your computer and use it in GitHub Desktop.
Save yodeah/804c95cf7a7f5e9d20999ec7954c5491 to your computer and use it in GitHub Desktop.
aws startup script
#!/bin/bash
wget https://dl.eff.org/certbot-auto
chmod a+x certbot-auto
./certbot-auto --standalone --cert-path /etc/letsencrypt/certs/ -p beta.daggersandsorcery.com
sudo apt-get install nginx
cp /etc/nginx/nginx.conf /etc/nginx/nginx.conf.backup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment