[squid-users] Howto make Squid config dependent on hostname?

Hildegard Meier daku8938 at gmx.de
Fri Sep 16 10:32:55 UTC 2022


>
> node1:/etc/hosts
>     ...
>     192.0.2.1	node1.example.com
>     192.0.2.2	node2.example.com peer-cache-node.example.com
>     ...
>
> node2:/etc/hosts
>     ...
>     192.0.2.1	node1.example.com peer-cache-node.example.com
>     192.0.2.2	node2.example.com
>     ...

Thanks, but having individual /etc/hosts file is not feasable as we deploy all files centrally (with rsync) and do not touch files on the hosts themself.


More information about the squid-users mailing list