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