ban des URL

This commit is contained in:
jeremy.thomas 2025-04-07 08:53:20 +02:00
parent dac9da8974
commit 6fd402ddda

View File

@ -1353,12 +1353,10 @@ acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
# Ban des mots clés:
acl mot_interdis url_regex -i chagpt twitch
acl mot_interdis url_regex -i chatgpt twitch
# Ban des liens:
# acl site_bloque url_reglex -i youtube.com
# acl site_bloque url_reglex -i facebook.com
# http_access deny site_bloque
acl site_bloque dstdomain -i youtube.com facebook.com chatgpt.com twitch.tv
# TAG: proxy_protocol_access
# Determine which client proxies can be trusted to provide correct
@ -1558,6 +1556,7 @@ include /etc/squid/conf.d/*.conf
# Adapt localnet in the ACL section to list your (internal) IP networks
# from where browsing should be allowed
http_access deny mot_interdis
http_access deny site_bloque
http_access allow localnet
http_access allow localhost