Re: nginx proxy_pass and proxy_cache

2021-11-11 Thread Francis Daly
On Thu, Nov 11, 2021 at 08:54:21AM +, Francis Daly wrote: > On Wed, Nov 10, 2021 at 08:58:54PM +0200, Reinis Rozitis wrote: Typo/thinko-fixes... > You could possibly also take advantage of case#2, and do > > rewrite /something/(.*\.xml)$ /$1 break; rewrite /something/(.*\.xml)

Re: nginx proxy_pass and proxy_cache

2021-11-11 Thread Francis Daly
On Wed, Nov 10, 2021 at 08:58:54PM +0200, Reinis Rozitis wrote: Hi there, > > And I can't make a location block for a mimetype, or using another > > specifier than regexes to filter out requests to certain 'file types'. Is > > there any other 'good' solution except for, on my origin adding rewr

RE: nginx proxy_pass and proxy_cache

2021-11-10 Thread Reinis Rozitis
> And I can't make a location block for a mimetype, or using another specifier > than regexes to filter out requests to certain 'file types'. Is there any > other 'good' solution except for, on my origin adding rewrites from > /something/data1/ to /data1/? Why just not separate the locations r