[squid-users] Put URLs and URL regex in one text file

robert k Wild robertkwild at gmail.com
Thu May 19 18:29:26 UTC 2022


Think I found it but, what the difference between these two

acl aclname ssl::server_name_regex [-i] \.foo\.com ...

acl aclname dstdom_regex [-n] [-i] \.foo\.com ...


On Thu, 19 May 2022, 19:01 robert k Wild, <robertkwild at gmail.com> wrote:

> Hi all,
>
> ATM in my squid.conf I have two acls, one for normal whitelist urls and
> one for whitelist reg ex urls, like so
>
> #HTTP_HTTPS whitelist websites
>
> acl whitelist ssl::server_name "/usr/local/squid/etc/urlwhite.txt"
>
> #
>
> #HTTP_HTTPS whitelist websites regex
>
> acl whitelistreg ssl::server_name_regex
> "/usr/local/squid/etc/urlregwhite.txt"
>
> #
>
> http_access allow activation whitelist
>
> http_access allow activation whitelistreg
>
> http_access deny all
>
>
> urlwhite.txt
>
>
>
> .login.windows.net
>
>
> urlregwhite.txt
>
>
>
> ^zzz-iobuckets-io.*.s3.amazonaws.com
>
>
> How would I be able to combine both together to get rid of the whitelist
> and just leave the whitelistreg
>
> Thanks,
> Rob
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20220519/078cab8b/attachment.htm>


More information about the squid-users mailing list