diff --git a/sisr1/tp05-Installation_proxy/squid/squid.conf b/sisr1/tp05-Installation_proxy/squid/squid.conf index 3c7c924..ea259de 100644 --- a/sisr1/tp05-Installation_proxy/squid/squid.conf +++ b/sisr1/tp05-Installation_proxy/squid/squid.conf @@ -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