Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4720

Haproxy 1.8, how to get virtual path url?

$
0
0

@tkuliah wrote:

Hello,

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:
when access subdomain sub.domain.com

i knew in browser Request URL for static :

http://sub.domain.com/assets/application-4de6c48f86c316cadff623630f535be12cf5021edde00f5ea950474dbd52e3cf.css

http://sub.domain.com/assets/application-4dc51ee3cd720797a149ee09f6d6f6648689420db499100dec4f29a5e25b1a89.js

and the path to static in folder refer to:
/home/user/webapps/assets/css/file.css
/home/user/webapps/assets/css/file.js

the question is how to configure haproxy for case above?

Thank you

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4720

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>