frontend www
bind *:80
acl url_static path_end .html .gif .png .jpg .css .js
use_backend webserver_8085 if url_static
default_backend webserver_8085
acl api_req path_beg -i /zjzc-weixin-server
use_backend webserver_8085 if api_req
backend webserver_8085
mode http
balance roundrobin
server webserver01_8085 1.5.18.2:8085 check inter 2000 fall 3 weight 20
haproxy 80跳转8080 ,带根访问
最新推荐文章于 2022-02-22 21:46:17 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)