Nginx Tutorial Proxy to Express Application, Load Balancer, Static Cache Files
Nginx ROCKS In this Nginx Tutorial, we re going to setup Nginx to receive http requests to our domain name (port 80), then proxy to our App, which is running on port 3000. View Nginx Configuration Code here: We re also going to set it up Nginx load balancing, so the http requests will get evenly distributed between all of our servers. See full documentation on Load Balancing (upstream) here: Lastly, we re going to setup static file caching on Nginx, so our css, js and image files are only served from our application the first DRASTICALLY improves application performance.
|
|