企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
``` frontend wss_in bind *:8095 ssl crt /usr/local/haproxy/conf/test.com.pem acl is_websocket hdr(Upgrade) -i WebSocket acl is_wshost hdr_beg(Host) -i ws default_backend socket_server use_backend socket_server if is_websocket is_wshost backend socket_server balance roundrobin timeout tunnel 1h timeout client-fin 30s server web1 192.168.100.100:8090 maxconn 10000 weight 10 cookie websrv1 check server web2 192.168.100.101:8090 maxconn 10000 weight 10 cookie websrv1 check ```