Compare commits
2 Commits
4e6028da5f
...
e258f4e440
Author | SHA1 | Date | |
---|---|---|---|
|
e258f4e440 | ||
|
775fb1aea7 |
@ -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
|
||||
|
||||
|
@ -1353,6 +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 chatgpt
|
||||
|
||||
# TAG: proxy_protocol_access
|
||||
# Determine which client proxies can be trusted to provide correct
|
||||
@ -1551,9 +1552,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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user