From e258f4e440c608f642b6425c5f4da1df95c3ce05 Mon Sep 17 00:00:00 2001 From: Tom Guerin Date: Wed, 26 Mar 2025 17:08:33 +0100 Subject: [PATCH] ajout2liens --- sisr1/tp05_squid/majservice.sh | 2 +- sisr1/tp05_squid/squid.conf | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/sisr1/tp05_squid/majservice.sh b/sisr1/tp05_squid/majservice.sh index 9725343..8050ee3 100644 --- a/sisr1/tp05_squid/majservice.sh +++ b/sisr1/tp05_squid/majservice.sh @@ -5,7 +5,7 @@ filepath=/etc/squid #chemin servicename=squid.service #nom du service -git pull > /dev/null #mise a jour du depot distant +git pull #mise a jour du depot distant sudo cp $filepath/$filename $filepath/$filename.old #sauvegarde en changeant le nom .old diff --git a/sisr1/tp05_squid/squid.conf b/sisr1/tp05_squid/squid.conf index b467749..ea77dd5 100644 --- a/sisr1/tp05_squid/squid.conf +++ b/sisr1/tp05_squid/squid.conf @@ -1353,8 +1353,7 @@ 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 +acl mots_cles_refuses url_regex -i twitch chatgpt # TAG: proxy_protocol_access # Determine which client proxies can be trusted to provide correct