diff --git a/sisr1/TP05-installation-proxy/squid/squid.conf b/sisr1/TP05-installation-proxy/squid/squid.conf index f87ac71..9571eae 100644 --- a/sisr1/TP05-installation-proxy/squid/squid.conf +++ b/sisr1/TP05-installation-proxy/squid/squid.conf @@ -1339,6 +1339,7 @@ # acl localnet src fc00::/7 # RFC 4193 local private network range # acl localnet src fe80::/10 # RFC 4291 link-local (directly plugged) machines acl localnet src 172.16.0.0/24 +acl mots_refuser url_regex -i twitch youtube fnac acl SSL_ports port 443 @@ -1550,6 +1551,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_refuser http_access allow localnet http_access allow localhost