Created
May 1, 2017 19:08
-
-
Save vladimirmyshkovski/4fac279e7b970fd09fd76f4f9c52ef85 to your computer and use it in GitHub Desktop.
clear cache nginx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in `find /var/lib/nginx/cache -type f`; do rm $i ; done | |
or | |
find /var/lib/nginx/cache -type f -exec rm {} \; | |
# /var/lib/nbinx/cache -- path of the nginx cache |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment