Welcome! Log In Create A New Profile

Advanced

Re: proxy_cache and X-Accel-Redirect

Igor A. Ippolitov
June 27, 2017 12:18PM
David,

In your configuration /converted is configured to be 'internal'.
Your backend should redirect to /converted/file1.img (so it will be
proxied and cached as configured...)

If you there is no mistake and redirect differs from configured location
then here is the trouble =)
Could you please verify location prefixes once again?

On 27.06.2017 18:49, deivid__ wrote:
> Igor:
>
> As I explained to francis (
> https://forum.nginx.org/read.php?2,275138,275163#msg-275163 ), I don't want
> to cache what goes to uwsgi.
>
> I get a request for /v/example-uri, my back-end answers with
> X-accel-redirect: /nfs/file1.img (2gb).
> I want nginx to copy this to a local cache (
> /cache/c/29/b7f54b2df7773722d382f4809d65029c or whatever ) and serve
> subsequent requests (that might be /v/example-7-uri or /v/qwoeiuqwoeiq but
> get the same response X-accel-redirect: /nfs/file1.img) from the cache.
>
>
> David
>
> Posted at Nginx Forum: https://forum.nginx.org/read.php?2,275138,275167#msg-275167
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx


_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

proxy_cache and X-Accel-Redirect

deivid__ June 26, 2017 01:39PM

Re: proxy_cache and X-Accel-Redirect

pbooth June 26, 2017 03:16PM

Re: proxy_cache and X-Accel-Redirect

Francis Daly June 26, 2017 07:30PM

Re: proxy_cache and X-Accel-Redirect

deivid__ June 27, 2017 11:12AM

Re: proxy_cache and X-Accel-Redirect

Francis Daly June 28, 2017 08:52AM

Re: proxy_cache and X-Accel-Redirect

Igor A. Ippolitov June 27, 2017 02:54AM

Re: proxy_cache and X-Accel-Redirect

deivid__ June 27, 2017 11:49AM

Re: proxy_cache and X-Accel-Redirect

Igor A. Ippolitov June 27, 2017 12:18PM

Re: proxy_cache and X-Accel-Redirect

deivid__ June 27, 2017 12:56PM

Re: proxy_cache and X-Accel-Redirect

pbooth June 27, 2017 01:22PM

Re: proxy_cache and X-Accel-Redirect

deivid__ June 27, 2017 02:27PM

Re: proxy_cache and X-Accel-Redirect

Igor A. Ippolitov June 28, 2017 05:30AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 63
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