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:
for example : ActionController::RoutingError (No route matches [GET] “/assets/procedure-ba89f3c7e2f192ec4c435897d0eb6189cac0f38dedee8e079eb378403f8732ac.png”):
ActionController::RoutingError (No route matches [GET] “/assets/application-4de6c48f86c316cadff623630f535be12cf5021edde00f5ea950474dbd52e3cf.css”):
those file are compiled assets that 's cannot access from haproxy.
i just still confuse to add header or something else in haproxy config.