From 775fb1aea78d5f2151d634d6d37b381929080a4a Mon Sep 17 00:00:00 2001 From: Tom Guerin Date: Wed, 26 Mar 2025 17:03:52 +0100 Subject: [PATCH] ajout2liens --- sisr1/tp05_squid/squid.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sisr1/tp05_squid/squid.conf b/sisr1/tp05_squid/squid.conf index 2b09f53..b467749 100644 --- a/sisr1/tp05_squid/squid.conf +++ b/sisr1/tp05_squid/squid.conf @@ -1353,6 +1353,8 @@ acl Safe_ports port 488 # gss-http acl Safe_ports port 591 # filemaker acl Safe_ports port 777 # multiling http +acl mots_cles_refuses url_regex -i twitch +acl mots_cles_refuses url_regex -i chatgpt # TAG: proxy_protocol_access # Determine which client proxies can be trusted to provide correct @@ -1551,9 +1553,11 @@ 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 + # And finally deny all other access to this proxy http_access deny all