haproxy web跳转 通过/xx 跳转

       acl             mgr_req                 path_beg                -i                      /backoffice
        use_backend     mgrserver_8001          if                      mgr_req



backend	mgrserver_8001
	mode    	http
	server  	mgrhost_8001		10.68.14.94:8001       check inter 2000 fall 3 

nginx配置:

       location / {
	    root /var/www/zjzc-web-backoffice/;
            index  index.html;
        }

jrhmpt01:/var/www/zjzc-web-backoffice# pwd
/var/www/zjzc-web-backoffice
jrhmpt01:/var/www/zjzc-web-backoffice# ls
backoffice

原文地址:https://www.cnblogs.com/hzcya1995/p/13351157.html