Re: ngx_cache_purge + query string

2014-05-05 Thread Indo Php
Thanks! On Monday, May 5, 2014 5:35 PM, Piotr Sikora wrote: Hello, > Below is my config > >        location ~ /purge(/.*) { >                allow  127.0.0.1; >                allow  10.10.0.0/24; >                deny    all; >                proxy_cache_purge  one  backend$1; >       

Re: ngx_cache_purge + query string

2014-05-05 Thread Piotr Sikora
Hello, > Below is my config > > location ~ /purge(/.*) { > allow 127.0.0.1; > allow 10.10.0.0/24; > denyall; > proxy_cache_purge one backend$1; > } $1 doesn't contain query strings, you should use: prox

Re: ngx_cache_purge + query string

2014-05-05 Thread Indo Php
Hi, Below is my config     location ~ /purge(/.*) {     allow   127.0.0.1;     allow   10.10.0.0/24;     deny    all;     proxy_cache_purge  one  backend$1;     } On Monday, May 5, 2014 4:20 PM, Piotr Sikora wrote: Hello, > is ngx_cac

Re: ngx_cache_purge + query string

2014-05-05 Thread Piotr Sikora
Hello, > is ngx_cache_purge support to purge file with query string? Yes. > I've tried with no success > > Our example page > > http://www.example.com/images/file.jpg?v=1.0 > > Is there any additional config I have to put? You didn't provide your current config, so no one can tell. Best regard

ngx_cache_purge + query string

2014-05-05 Thread Indo Php
Hi, is ngx_cache_purge support to purge file with query string? I've tried with no success Our example page http://www.example.com/images/file.jpg?v=1.0 Is there any additional config I have to put?___ nginx mailing list nginx@nginx.org http://mailma