How to setup Proxy Cache with Nginx and Passenger
- by tiny
I use Nginx and Passenger for my rails application. I want to use proxy cache to cache my pages. However, every request go direct to my rails application.
I don't know what wrong with my configuration.
Below is my configuration:
user www-data;
worker_processes 1;
events {
worker_connections 1024;
}
http {
passenger_root…