fix cache prune docker command

This commit is contained in:
Karol Wypchlo 2020-11-24 14:40:39 +01:00
parent 311162020b
commit 24ab5063e0
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ do
###################################################### ######################################################
# purge nginx cache after all the skylinks are blocked # purge nginx cache after all the skylinks are blocked
###################################################### ######################################################
ssh -q -t user@${server} 'rm -rf /home/user/skynet_webportal/docker/data/nginx/cache' ssh -q -t user@${server} 'docker exec nginx sh -c "rm -rf /data/nginx/cache/*"'
echo ".... 🗑️ Pruned nginx cache on ${server}" echo ".... 🗑️ Pruned nginx cache on ${server}"
done done