Digital Ocean bulutunda nginx ile nodejs sunuculara reverse proxy ve cache load olayına girmek
Nginx Load Balancer and Reverse Proxy for Node.js Applications On Digital Ocean Joe McCann Digitial Ocean is rad. A modern VPS with SSD servers for super cheap. Easy to spin up or down. Cloning and backing up images are a breeze and they have a solid, easy to use API with a great support team. I recently moved a bunch of my static sites to one machine on Digital Ocean. They are all sites powered by Express via Node.js . However, I wanted to put Nginx in front of them to act as a reverse proxy so I could have one machine serve up many websites. This was very simple to do and within an hour I had 7 sites up and running on one machine being handled by Nginx in front of all of them as the reverse proxy. However, to make these sites highly available, I needed to reconfigure my infrastructure a bit. I ended up needing not one, but three total machines. Machine 1 with Nginx installed (to act as load balancer and reverse proxy) Machine 2 with Node.js installed...