Welcome! Log In Create A New Profile

Advanced

Re: proxy_cache and X-Accel-Redirect

Francis Daly
June 26, 2017 07:30PM
On Mon, Jun 26, 2017 at 01:39:45PM -0400, deivid__ wrote:

Hi there,

> /data/asd-asd-asd -> proxied to a backend -> resolves to file.xls
> /data/qqq-qqq-qqq -> proxied to a backend -> resolves to file.xls
> /data/123-123-123 -> proxied to a backend -> resolves to image.jpeg

The config at the remote url you mention does not appear to include any
"location /data/" block that might have the config for handling these
requests.

It also does not appear to include any "proxy_pass", which is necessary
before using "proxy_cache".

Perhaps the content that I am reading now is not the content that you
wrote some time ago.

Could you include the config within the email; or else describe what
you want to have happen when a client makes a http request to nginx
for /data/asd-asd-asd?

The more specific and explicit details you include, the more chance
there is that someone will be able to understand what config you want
in order to meet your requirements.

f
--
Francis Daly francis@daoine.org
_______________________________________________
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: 290
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready