RE: 2 locations, 2 _different_ cache valid settings, but same cache & pass-through

2020-03-28 Thread randyorbs
> Just a quick idea... Thank you for the idea. I was able to quickly demo it out and play around with it a bit. You mentioned /bar objects being older than desired with this idea, which I agree is a problem, but in another way. If I reconfigure /bar to say 60 minutes, then that means /bar woul

Re: 2 locations, 2 _different_ cache valid settings, but same cache & pass-through

2020-03-27 Thread randyorbs
, Francis Daly wrote: > On Tue, Mar 24, 2020 at 11:15:59PM +, randyorbs wrote: > > Hi there, > > > 4. use different cache valid settings... > > location /foo { > > proxy_pass "http://myhost.io/go";; > > proxy_cache share

2 locations, 2 _different_ cache valid settings, but same cache & pass-through

2020-03-24 Thread randyorbs
I'd like to setup a reverse proxy with cache that will allow me to... 1. expose two different locations... location /foo {} location /bar {} 2. resolve to the same pass-through... location /foo { proxy_pass "http://myhost.io/go";; } location /bar { proxy_pass "http://myhost.io/go";; } 3. us