send .jpg requests to backend
June 02, 2011 03:53PM
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
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 265
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready