mirror of
https://github.com/casjaysdevdocker/squidguard
synced 2025-01-18 12:34:24 -05:00
🗃️ modified: bin/create-blocklists.sh 🗃️
This commit is contained in:
parent
130f8f19e4
commit
fb5ffd303e
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
SQUID_USER="${SQUID_USER:-squid}"
|
SQUID_USER="${SQUID_USER:-squid}"
|
||||||
SQUID_LOG_DIR="${SQUID_LOG_DIR:-/data/log/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}"
|
BLOCKLIST="${BLOCKLIST:-https://github.com/casjay/resources/raw/main/files/shallalist.tar.gz}"
|
||||||
BLOCKED_CATEGORIES="${BLOCKED_CATEGORIES:-adv,aggressive,porn,spyware,violence,warez}"
|
BLOCKED_CATEGORIES="${BLOCKED_CATEGORIES:-adv,aggressive,porn,spyware,violence,warez}"
|
||||||
|
|
||||||
@ -68,3 +68,5 @@ chown -R ${SQUID_USER}:${SQUID_USER} "${CONFIG_FILE}"
|
|||||||
|
|
||||||
echo "Cleanup..."
|
echo "Cleanup..."
|
||||||
rm -rf /tmp/*
|
rm -rf /tmp/*
|
||||||
|
|
||||||
|
squid -k reconfigure
|
||||||
|
Loading…
x
Reference in New Issue
Block a user