fast-reverse-proxy-nginx

One command to set up nginx as a reverse proxy for any app on your VPS.

Install & run
curl -fsSL https://sh.abku.dev/script.sh | sudo bash -s myapp.com http://127.0.0.1:3000
Or run directly
sudo bash script.sh myapp.com http://127.0.0.1:3000
Remove a config
sudo bash script.sh remove myapp.com

Only sets up HTTP. For HTTPS, use Certbot after.