Unable to load cache content through HAProxy

Hello All,

I am using HAProxy version 1.8 for an e-commerce site to LB, Static content routing and SSL termination.

Below is my set up;
CLIENT - HAPROXY - VARNISH(Common for two Web Servers) - APACHE

I have configured the HAProxy script as per below example;

I have two major problems;

  1. Web site is accessible but static contents are not loading and getting “Error 503; Backend fetch data failed”
  2. Unable to user httpcheck in any of the backend configuration.

The site is configured to use HTTP, I have removed SSL certs for testing.

Please also suggest whether I should use dedicated Varnish Cache server for two web servers or a common varnish cache server is fine.