Welcome! Log In Create A New Profile

Advanced

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

Micheal Wolfskill
April 03, 2012 12:58AM
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.


Regards,
Mike
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

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

Micheal Wolfskill April 03, 2012 12:58AM

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

Antonio P.P. Almeida April 03, 2012 06:20AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 224
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready