proxy_cache_purge for nginx/0.8.34

skynet nginx-forum at nginx.us
Mon Mar 8 09:17:19 MSK 2010


Can somebody confirm that proxy_cache_purge is working with nginx/0.8.34.

I have this config and cannot get it to delete anything from the cache, I just get a 404:


location / {
	proxy_pass		http://127.0.0.1:8000;
	proxy_cache		tmpcache;
	proxy_cache_key		"$scheme://$host$request_uri";
}

location ~ /purge(/.*) {
	allow			127.0.0.1;
	deny			all;
	proxy_cache_purge	tmpcache   "$scheme://$host$1";
}


Thank you.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,61318,61318#msg-61318




More information about the nginx mailing list