Answer the question
In order to leave comments, you need to log in
How to whitelist 3rd level domains in squid?
I set it up according to the article on Habré, everything works fine, both http and https work according to the white list.
But I can’t figure out how to block all subdomains. For example, allow google.com and google.ru but deny translate.google.com and any other level 3 domains.
config lines like this
acl white_list url_regex -i "/etc/squid/white_list"
acl white_list_ssl ssl::server_name_regex "/etc/squid/white_list"
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question