开发者_开发知识库Confused here, how will pointing nginx to the /public folder make a RoR application run? The public folder doesn't have any of the .rb files in it?
Does it somehow access the folders below?
This is just how Passenger works. You point the web server at the public folder (out of which it will serve static assets) and say that it belongs to a rails/rack app. Passenger then starts the app that the public folder is within.
精彩评论