Skip to content

Instantly share code, notes, and snippets.

@srtvprateek
srtvprateek / node_kong_setup.sh
Last active March 18, 2024 10:38
Setting up Node.js server with KONG
#!/bin/sh
## install nodejs on your EC2 instance
sudo apt-get update
curl -sL https://deb.nodesource.com/setup_8.x -o nodesource_setup.sh
sudo bash nodesource_setup.sh
sudo apt install -y nodejs
## verify installation by checking nodejs & npm versions
nodejs -v
@srtvprateek
srtvprateek / setup_letsencrypt.sh
Last active November 21, 2020 18:57
Setting SSL with LetsEncrypt & KONG, refer https://gist.github.com/srtvprateek/417ed0b2e1790389f1fdfe12dcebcccf before this
#!/bin/sh
### Please refer https://gist.github.com/srtvprateek/417ed0b2e1790389f1fdfe12dcebcccf
### to setup node and KONG before proceeding
## install GIT
sudo apt update && sudo apt upgrade
sudo apt-get install git
## download LetsEncrypt