Welcome! Log In Create A New Profile

Advanced

Proxy cache of X-Accel-Redirect, how?

January 29, 2015 05:52AM
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 http://forum.nginx.org/read.php?2,241734,241948#msg-241948).

Configuration:
1) Application server (Phusion Passenger)
adds X-Accel-Redirect header to response
sends to
2) 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
3) NGINX server
delivers file

But caching of the reuest on server (2) does not work.
Any idea?
Subject Author Posted

Proxy cache of X-Accel-Redirect, how?

bongtv January 29, 2015 05:52AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 62
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready