Appendix C. Setting up nginx
This appendix covers
- Setting up nginx as a load balancer
- Serving static content from nginx
- Enabling SSL for Meteor applications
Although Node.js—Meteor’s underlying server technology—is great for handling events, it’s not optimized to handle static content such as images well. Even though it’s possible to use SSL with a Node.js application, it’s not yet possible with Meteor. The fact that Node.js is a single-threaded application that won’t take advantage of the full power of multicore processors might be enough to convince you that scaling Meteor will be complicated.
Thankfully it doesn’t require much to build a production environment for running a Meteor application that takes care of all these shortcomings. ...
Get Meteor in Action now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.