Delete specific url catch file in nginx
by Ranganathan[ Edit ] 2013-05-22 14:27:53
Search specific url file:
Search url File:
Syntax :
grep -lr 'http://$serverip:$portno/$url'
Example:
grep -lr 'http://cricruns.com/livescore/fullscorecard/863' /cache/*
OR
grep -lr 'http://76.39.15.214:8031/livescore/fullscorecard/863' /cache/*
Results:
./9/2e/cd277326dd836369a8cfb3ea72d682e9
./9/da/78263a7ac31b5d77c1e3eccbd20fbda9
./1/54/64c075413c49f71aa77e44281a741541
./2/d0/799b854fd0843fee497376709df29d02
./c/ad/5d9fbfb085c3cfd9877f434f050efadc
./b/88/25a9f942225a55fa9ed4ee9ffaac588b
Check cache File
vim 78263a7ac31b5d77c1e3eccbd20fbda9
Remove cache File
rm 78263a7ac31b5d77c1e3eccbd20fbda9