@stwong wrote:
Hi, we're new to HAproxy and sorry for the newbie question. We setup new server for a path /mypath using configuration like following, e.g. oldweb.mysite.com/mypath -> newweb.mysite.com/mypath
frontend http-in
bind *:80
reqadd X-Forwarded-Proto:\ http
default_backend backend_servers
option forwardforacl go_newweb path_beg /mypath use_backend newweb_backend if go_newweb
backend newweb_backend
server newweb neweb.mysite.com check inter 1000However, boss wants user to see oldweb.mysite.com instead of newweb.mysite.com in the browser address bar. Possible to do so?
Thanks a lot.
Posts: 2
Participants: 2