i have application using rubby, and wont to placed behind haproxy. and result static file like js css and image cannot load / broken. but when accessed via localhost, all static file is loaded.
from the browser it is known that the proxy cannot load the URL:
when access subdomain sub.domain.com
i knew in browser Request URL for static :
and the path to static in folder refer to:
the question is how to configure haproxy for case above?