Possible trigger actio of clearing cache within location /clearcache { }

Micheal Wolfskill tdgh2323 at hotmail.com
Tue Apr 3 04:56:20 UTC 2012

Is it possible to somehow (and without installing PHP) invoking the action of clearing the nginx cache (rm -fr /var/www/cache/*) by simply visiting a location {} of the server {} ?  Obviously I would allow only specific IPs to that location.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20120403/751e8f0d/attachment.html>

More information about the nginx mailing list