Hi,
We are using nginx + Phusion Passenger (ruby on rails) and I would like to know how to let Nginx pass static files request to the Phusion Passenger backend.
Basically nginx is the frontend running at port 80 and Phusion Passenger is running at port 81 as the backed. We would like to have Phusion Passenger process some of the static files request (e.g. .jpg, .png etc). However, the problem is that nginx will process these request without sending them to the backend.Is there anyway we can achieve this?
Thanks,
Vince