A simple nginx reverse proxy for serving multiple Node.js ...
flaviocopes.com › nginx-reverse-proxyAug 13, 2020 · I recently set up a VPS on DigitalOcean to run a few different Node.js scripts under the same domain. Now, you can’t have two different Node.js apps listen on the same port, so you have to use a reverse proxy. Nginx is commonly used for that. I set up each Node app to run on its own subfolder, so I had to edit the Nginx configuration: sudo nano /etc/nginx/sites-available/default which was this: