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;
>         }

$1 doesn't contain query strings, you should use:

    proxy_cache_purge  one  backend$1$is_args$args;

or alternatively, use "same location" configuration. Please refer to
the documentation for details.

Best regards,
Piotr Sikora

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to