To configure the Squid service for HAProxy:
sed -i 's!icap://127.0.0.1:1344!icap://<IP address of the HAProxy server>:<port>!g' /etc/squid/squid.conf
service squid restart
Configuration of the Squid service for HAProxy will be complete.