virtualhost - Tutum HAProxy Docker Virtual Host forward to entry point path -
i'm trying use haproxy tutum docker image load balance between 2 different web applications. both web applications has entry point of "/". @ section virtual host , virtual path see can use virtual hosts route different services. i've tried set virtual_host
parameter web app 1 */webapp1*
, web app 2 i've set /*webapp2*
. when try navigate web app 1 through haproxy (using example http://haproxy-test.myname.svc.tutum.io/webapp1
) forwards me http://<internal_ip_to_webapp1/webapp1
. haproxy forward calls /webapp1
http://<internal_ip_to_webapp1>
(i.e. entry point of web app 1). how can achieve this?
you should try adding host name in virtual_host parameter.
like http://haproxy-test.myname.svc.tutum.io/webapp1/*
Comments
Post a Comment