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

Re: Possible to use nginx as a proxy (like Squid)?

2018-12-06 Thread Jack Henschel
Hello, yes that is indeed possible with nginx. The Admin Guide is a good starting point: https://docs.nginx.com/nginx/admin-guide/web-server/reverse-proxy/ The principal module you'll be dealing with is the http_proxy module, you can find the docs here: https://nginx.org/en/docs/http/ngx_http_p

Possible to use nginx as a proxy (like Squid)?

2018-12-06 Thread dxxvi
Hi All, Is it possible to use nginx as a proxy like Squid, of course without all the access control lists, without protocols which are not http nor https? If yes, could somebody give me a starting point? Thanks. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,282288,282288#msg-282288