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

Purge failure creates file not found message #14

Closed runningman84 closed 10 years ago

runningman84 commented 10 years ago

In case the proxy purge or slowfs purge modul does not find a file to delete, an error message like this is written:

2013/12/06 09:31:53 [error] 5399#0: *20150750 open() "/srv/htdocs/purge/o/y/jh/image450x352.jpg" failed (2: No such file or directory), client: 10.172.252.136, server: images.example.de, request: "HEAD /purge/o/y/jh/image450x352.jpg HTTP/1.1", host: "10.1.1.1"

This error is missleading, the modul should catch all request and do not pass the request to the normal nginx file handling...

PiotrSikora commented 10 years ago

That doesn't seem right, I'm pretty sure you misconfigured nginx.

Feel free to reopen if you can provide more data (at least: configuration, request & error.log entry).