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

Hide URL of backend servers from user

$
0
0

@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 forwardfor

acl  go_newweb  path_beg  /mypath
use_backend newweb_backend  if go_newweb

backend newweb_backend
server newweb neweb.mysite.com check inter 1000

However, 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

Read full topic


Viewing all articles
Browse latest Browse all 4715

Trending Articles



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