Configuring the Squid service for HAProxy

To configure the Squid service for HAProxy:

  1. Change the settings of the Squid service. To do so, execute the command:

    sed -i 's!icap://127.0.0.1:1344!icap://<IP address of the HAProxy server>:<port>!g' /etc/squid/squid.conf

  2. Restart the Squid service. To do so, execute the command:

    service squid restart

Configuration of the Squid service for HAProxy will be complete.

Page top