Fix removing skylink from nginx
This commit is contained in:
parent
838c2084a9
commit
400aca12bc
|
@ -47,7 +47,7 @@ do
|
||||||
# changes need to be applied to the /setup-scripts/blocklist-airtable.py
|
# changes need to be applied to the /setup-scripts/blocklist-airtable.py
|
||||||
# script.
|
# script.
|
||||||
cached_files_command="find /data/nginx/cache/ -type f | xargs -r grep -Els '^Skynet-Skylink: ${skylink}'"
|
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 ".. ⌁ Skylink ${skylink} Blocked"
|
||||||
echo "--------------------------------------------"
|
echo "--------------------------------------------"
|
||||||
|
|
Reference in New Issue