Compare commits

...

2 Commits

Author SHA1 Message Date
dac9da8974 ban des mots 2025-03-26 17:09:38 +01:00
3ef167f1a9 ban des mots 2025-03-26 17:09:22 +01:00

View File

@ -1353,14 +1353,12 @@ 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
acl mot_interdis url_regex -i twitch
http_access deny mot_interdis
acl mot_interdis url_regex -i chagpt 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 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
@ -1559,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