Simple reverse ssh tunnel that also creates a nginx config
git clone https://github.com/nordikafiles/node-nginx-tunnel
cd node-nginx-tunnel
pm2 start index.js --name tunnel
Example config.yml:
host: 8.8.8.8
username: root
password: password
sites:
- src: 1234
dst: 1234
domains:
- example.com
- www.example.com