ban des mots

This commit is contained in:
jeremy.thomas 2025-03-26 17:09:38 +01:00
parent 3ef167f1a9
commit dac9da8974

View File

@ -1354,11 +1354,11 @@ acl Safe_ports port 777 # multiling http
# Ban des mots clés:
acl mot_interdis url_regex -i chagpt twitch
http_access deny mot_interdis
# Ban des liens:
acl site_bloque url_reglex -i youtube.com facebook.com
http_access deny site_bloque
# acl site_bloque url_reglex -i youtube.com
# acl site_bloque url_reglex -i facebook.com
# http_access deny site_bloque
# TAG: proxy_protocol_access
# Determine which client proxies can be trusted to provide correct
@ -1557,6 +1557,7 @@ include /etc/squid/conf.d/*.conf
# Example rule allowing access from your local networks.
# 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 allow localnet
http_access allow localhost