Re: proxy_cache_background_update ignores regular expression match when updating

2018-12-06 Thread Roman Arutyunyan
Hi, On Thu, Dec 06, 2018 at 04:01:36PM +0300, Roman Arutyunyan wrote: [..] > This should solve the issue: > > location ~ /test/($regular|expression)$ { > proxy_pass http://127.0.0.1:8010/test/$name; Sorry, the right syntax is of course this: location ~ /test

Re: proxy_cache_background_update ignores regular expression match when updating

2018-12-06 Thread Roman Arutyunyan
Hello Richard, On Tue, Dec 04, 2018 at 06:57:15PM +0100, Richard Stanway via nginx wrote: > Hello, > I'm running into an issue where a proxied location with a regular > expression match does not correctly update the cache when using > proxy_cache_background_update. The update request to the backen

proxy_cache_background_update ignores regular expression match when updating

2018-12-04 Thread Richard Stanway via nginx
Hello, I'm running into an issue where a proxied location with a regular expression match does not correctly update the cache when using proxy_cache_background_update. The update request to the backend seems to be missing the captured parameters from the regex. I've created a small test case that d