Re:Show HN: PNGR – Docker-compose for a Postgres-Nginx-Golan...
by dthul on Saturday November 23, 2019 @11:50AM
(#21614989)
I mostly work on small scale stuff. There is nothing to load balance if you only have one machine :D
And for development you probably don't want to use a CDN.
Edit: it just occurred to me that a load balancer is nothing but a reverse proxy anyway. Running on a different machine usually, but not really different from nginx on the local machine from the point of view of the application software.
- Serving static files
- Not needing to care about binding your application to a privileged port (below 1024)
- SSL certificate handling
- Hosting several applications on the same IP"
All of this should be handled at a higher level with load balancers doing your SSL termination, and CDN for static files. There's no reason your application server should care about any of that stuff.