nginx / cache_purge (project fully funded by yo.se)
Patch adding ability to purge content from nginx's FastCGI and proxy caches.
Download:
patch against nginx-0.8.8
(SHA1: b607e8d6619d749f1e2fe4ee8c669571434e3854)
patch against nginx-0.8.26
(SHA1: 3180d7fcbcdfbdcdd586e0f445f33ca75eabdacf)
Example configuration:
proxy_cache_path /tmp/cache keys_zone=tmpcache:10m; location / { proxy_pass http://127.0.0.1:8000; proxy_cache tmpcache; proxy_cache_key $uri$is_args$args; } location ~ /purge(/.*) { allow 127.0.0.1; deny all; proxy_cache_purge tmpcache $1$is_args$args; }
Copyright © 2009, FRiCKLE. All rights reserved.