diff --git a/sisr1/tp05-squid/squid.conf b/sisr1/tp05-squid/squid.conf index cf6bf2a..0d50406 100644 --- a/sisr1/tp05-squid/squid.conf +++ b/sisr1/tp05-squid/squid.conf @@ -1340,6 +1340,8 @@ # acl localnet src fe80::/10 # RFC 4291 link-local (directly plugged) machines acl localnet src 172.16.0.0/24 #autorise le réseau interne à passer +acl mots_cles_refuses url-regex -i twitch twitch chatgpt + acl SSL_ports port 443 acl Safe_ports port 80 # http @@ -1550,6 +1552,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 mots_cles_refuses http_access allow localnet http_access allow localhost