Fix removing skylink from nginx

This commit is contained in:
Filip Rysavy 2021-10-27 10:55:09 +02:00
parent 838c2084a9
commit 400aca12bc
No known key found for this signature in database
GPG Key ID: EA1F430401C92D99
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ do
# 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
docker exec -it nginx bash -c "${cached_files_command} | xargs -r rm"
echo ".. ⌁ Skylink ${skylink} Blocked"
echo "--------------------------------------------"