I have a standard Haproxy config. The site works without Haproxy in front. I've put a test site on 2 server and Haproxy on separate server in front.
frontend site
mode http
bind *:80
default_backend webservers
option forwardfor
http-request set-header Forwarded for=%[src]
backend webservers
balance roundrobin
server webserver1 95.85.xx.xx:80
server webserver2 45.77.xx.xx:80
The site is loading but asset files from subdirectories give errors getting retrieved (screenshot of browser inspect).
Any idea what is causing this issue?