Skip to content

Instantly share code, notes, and snippets.

Brian Fegter fnbf

Block or report user

Report or block fnbf

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
fnbf /
Last active Feb 12, 2018 EC2 bootstrap
sudo yum -y install nginx
sudo mkdir /etc/nginx/ssl
sudo openssl req -nodes -x509 -days 1024 -newkey rsa:2048 -keyout /etc/nginx/ssl/server.key -out /etc/nginx/ssl/server.crt -subj '/C=US/ST=YOURSTATE/L=YOURCITY/O=YOURORG/OU=Web/CN=YOURWEBSITE'
sudo yum -y update
sudo yum install -y gcc-c++ make
sudo curl -sL | sudo -E bash -
sudo yum install -y nodejs
sudo npm install forever -g --save
sudo echo "map \$http_upgrade \$connection_upgrade {
You can’t perform that action at this time.