PCRE repo has been remove. Build with PCRE2?

2021-11-11 Thread Zach Mitchell
Hey all, Just stumbled upon that https://www.pcre.org/ no longer allows the download of PCRE-8.45 via their FTP so I'm at a loss on how to building nginx from source. Their site describes that they now have PCRE2 but every search I have done on it says that NGINX requires PCRE version 8.X. Has

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