[squid-users] Squid service-name macro one config and different ports

Peter Viskup skupko.sk at gmail.com
Fri Feb 2 10:42:40 UTC 2018


Want to run multiple instances of Squid4 on the same server with different
ports and one configuration file.
Not sure whether (and how) the http_port and snmp_port options can be made
as conditional options in squid.conf.
At the moment it looks like it is not possible.

The workaround can be to use separate configuration file for each instance
(inst1.conf, inst2.cond) and include the "global" part of the configuration
in both of them or separate files with the same global part.

Does somebody of you have other proposal?

Thank you.

Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20180202/a63c1359/attachment.html>


More information about the squid-users mailing list