🗃️ modified: bin/create-blocklists.sh 🗃️

This commit is contained in:
Jason 2022-02-16 19:05:31 -05:00
parent 130f8f19e4
commit fb5ffd303e
No known key found for this signature in database
GPG Key ID: 4F765975C1F0EE5F

View File

@ -2,7 +2,7 @@
SQUID_USER="${SQUID_USER:-squid}"
SQUID_LOG_DIR="${SQUID_LOG_DIR:-/data/log/squid}"
REDIRECT_URL="${REDIRECT_URL:-}"
REDIRECT_URL="${REDIRECT_URL:-/}"
BLOCKLIST="${BLOCKLIST:-https://github.com/casjay/resources/raw/main/files/shallalist.tar.gz}"
BLOCKED_CATEGORIES="${BLOCKED_CATEGORIES:-adv,aggressive,porn,spyware,violence,warez}"
@ -68,3 +68,5 @@ chown -R ${SQUID_USER}:${SQUID_USER} "${CONFIG_FILE}"
echo "Cleanup..."
rm -rf /tmp/*
squid -k reconfigure