ngx_cache_purge + query string

Indo Php iptablez at yahoo.com
Mon May 5 10:28:30 UTC 2014


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 <piotr at cloudflare.com> wrote:
 
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 regards,
Piotr Sikora

_______________________________________________
nginx mailing list
nginx at nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20140505/fd37cc3b/attachment.html>


More information about the nginx mailing list