I know that nginx is a web server and passenger is an application server. We can just run
passenger start
to run our rails app and everything works fine. But there are many posts about setting up nginx as a reverse proxy.
It would be useful if an expert on this broke each component and explained why nginx and the passenger are needed together, and the role of each.
Questions for reflection:
- What is the main purpose of wrapping a passenger around nginx, as opposed to launching an autonomous passenger?
- Is it bad to just drive a passenger separately?
- Does launching a "passenger" start its own nginx server?
source share