ban des URL
This commit is contained in:
		@@ -1353,12 +1353,10 @@ acl Safe_ports port 591		# filemaker
 | 
				
			|||||||
acl Safe_ports port 777		# multiling http
 | 
					acl Safe_ports port 777		# multiling http
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Ban des mots clés:
 | 
					# Ban des mots clés:
 | 
				
			||||||
acl mot_interdis url_regex -i chagpt twitch
 | 
					acl mot_interdis url_regex -i chatgpt twitch
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Ban des liens:
 | 
					# Ban des liens:
 | 
				
			||||||
# acl site_bloque url_reglex -i youtube.com
 | 
					acl site_bloque dstdomain -i youtube.com facebook.com chatgpt.com twitch.tv
 | 
				
			||||||
# acl site_bloque url_reglex -i facebook.com
 | 
					 | 
				
			||||||
# http_access deny site_bloque
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
#  TAG: proxy_protocol_access
 | 
					#  TAG: proxy_protocol_access
 | 
				
			||||||
#	Determine which client proxies can be trusted to provide correct
 | 
					#	Determine which client proxies can be trusted to provide correct
 | 
				
			||||||
@@ -1558,6 +1556,7 @@ include /etc/squid/conf.d/*.conf
 | 
				
			|||||||
# Adapt localnet in the ACL section to list your (internal) IP networks
 | 
					# Adapt localnet in the ACL section to list your (internal) IP networks
 | 
				
			||||||
# from where browsing should be allowed
 | 
					# from where browsing should be allowed
 | 
				
			||||||
http_access deny mot_interdis
 | 
					http_access deny mot_interdis
 | 
				
			||||||
 | 
					http_access deny site_bloque
 | 
				
			||||||
http_access allow localnet
 | 
					http_access allow localnet
 | 
				
			||||||
http_access allow localhost
 | 
					http_access allow localhost
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user