4 ms·
Just read the post. It confuses me a bit. It's mentioned in the beginning that the Lite version is a replacement for the local dev server. But later on in the p
by SingAlong 16y ago
Just read the post. It confuses me a bit. It's mentioned in the beginning that the Lite version is a replacement for the local dev server. But later on in the post he emphasizes that it can also be used in production.
On the other hand, if you need integration into the web server, then Phusion Passenger for Apache/Nginx is for you
Can anyone throw some light on the difference between using [Apache/Nginx]+Passenger and just Passenger Lite in the production environment? Why would I want to use a web server when Passenger Lite does what I require (serve the ruby app and also serve static files)
- TrevorBurnham 16y agoSeveral reasons: You might want to run other (possibly non-Ruby) apps on the same server; you might want to tweak settings, like the headers for certain files, to improve performance; you might want to do some URL mapping at the web server level; and you might simply want better static file serving performance (nginx is very, very fast). That last point isn't an issue here because Passenger Lite has an "nginx core." So if you can configure that core, then the only reason you wouldn't want to use Passenger Lite in production is if you have non-Ruby apps you want to run on the same server.