From ec02e9afa2c97525338065f1532ff315d36c54c8 Mon Sep 17 00:00:00 2001 From: firyx <29089732+firyx@users.noreply.github.com> Date: Tue, 26 Oct 2021 09:43:21 +0200 Subject: [PATCH] Update scripts/blocklist-skylink.sh Co-authored-by: Matthew Sevey --- scripts/blocklist-skylink.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/blocklist-skylink.sh b/scripts/blocklist-skylink.sh index e5beeb3d..8116263a 100755 --- a/scripts/blocklist-skylink.sh +++ b/scripts/blocklist-skylink.sh @@ -42,6 +42,7 @@ do docker exec sia siac skynet blocklist add "${skylink}" # Remove from NGINX cache + # NOTE: If there are changes to how the NGINX cache is being cleared, the same changes need to be applied to the /setup-scripts/blocklist-airtable.py script. cached_files_command="find /data/nginx/cache/ -type f | xargs -r grep -Els '^Skynet-Skylink: ${skylink}'" docker exec -it nginx bash -c "${cached_files_command}" | xargs -r rm