💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
``` 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 ```