Hi!
Tried to cache the X-Accel-Redirect responses from Phusion Passenger
application server with the use of a second layer without success
(followed
the hint on Re: proxy_cache seems not working with X-Accel-Redirect).
Configuration:
-
Application server (Phusion Passenger)
adds X-Accel-Redirect header to response
sends to -
NGINX server
>> tries to cache <<
proxy_ignore_headers X-Accel-Redirect;
proxy_pass_header X-Accel-Redirect;
passenger_pass_header X-Accel-Redirect;sends to
-
NGINX server
delivers file
But caching of the reuest on server (2) does not work.
Any idea?
Posted at Nginx Forum: