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

Alex Rousskov rousskov at measurement-factory.com
Fri Feb 2 15:18:26 UTC 2018


On 02/02/2018 03:42 AM, Peter Viskup wrote:
> Want to run multiple instances of Squid4 on the same server with
> different ports and one configuration file.

Set the service name to the port number and use the ${service_name}
squid.conf macro.

Needless to say, if your configurations differ by more than port
numbers, then using ${service_name} in include directives, as suggested
by Amos, offers a lot more flexibility.

Alex.


More information about the squid-users mailing list