using $upstream* variables inside map directive

Francis Daly francis at daoine.org
Thu Nov 12 14:34:55 UTC 2020


On Thu, Nov 12, 2020 at 04:58:31AM -0500, unoobee wrote:

Hi there,

> My configuration looks like this:

Thanks for this.

It looks like you are setting "proxy_cache" to always try to read from
"hdd_cache"; but you want it to sometimes write to "ssd_cache" instead.

And you are reporting that it does not ever write to "ssd_cache".

Is that correct?

If so -- given that it will only ever read from "hdd_cache", what would
be the benefit in writing to somewhere else?

I'm not certain what you're trying to achieve. Perhaps describing that,
might make it clear whether it can be done?

	f
-- 
Francis Daly        francis at daoine.org


More information about the nginx mailing list