FRiCKLE / ngx_cache_purge

nginx module which adds ability to purge content from FastCGI, proxy, SCGI and uWSGI caches.
http://labs.frickle.com/nginx_ngx_cache_purge/
Other
1.06k stars 311 forks source link

Added 1.4.x to compatible releases. #17

Closed hpatoio closed 10 years ago

hpatoio commented 10 years ago

This module works with 1.4.* Let's update the doc. See issue #12

tuapuikia commented 10 years ago

The module only work partially for nginx > 1.4

I follow the documentation, if using /purge location it refuse to work and return 404. If u put in / location it works. Please verify.

  location ~ /purge(/.*) {
        allow              XXX.XXX.XXX.xxx;
        deny               all;
        proxy_cache_purge  tmpcache $1$is_args$args;
    }
PiotrSikora commented 10 years ago

Fixed in e37aff6fab5e0aebc10c9804e35cd5d2d18d72cf