From 195de5946d5214275c5d253c1e428585ea962300 Mon Sep 17 00:00:00 2001 From: "charlie.alves" Date: Wed, 26 Mar 2025 17:07:26 +0100 Subject: [PATCH] nv --- 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 0806903..8605a53 100644 --- a/sisr1/tp05-squid/squid.conf +++ b/sisr1/tp05-squid/squid.conf @@ -1353,6 +1353,9 @@ 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 # information regarding real client IP address using PROXY protocol. @@ -1550,6 +1553,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