尝试在Windows上使用Apache 2.4.x设置负载平衡器。 错误:没有协议处理程序是有效的URL /path/。 如果您正在使用mod_proxy的DSO版本,请确保代理子模块包含在使用LoadModule的configuration中。
通过在docker服务器上部署的websocket代码访问webswing。
相同的configuration在Linux上工作。
configuration文件:
ProxyPass /path balancer://cluster/path/ timeout=600 ProxyPassReverse /path balancer://cluster/path/ timeout=600 ProxyRequests Off ProxyTimeout 600 <Proxy "balancer://cluster"> Require valid-user AuthName "ClosedProxy" AuthType Basic Order deny,allow Allow from all Satisfy Any BalancerMember ws://server1 route=1 timeout=600 BalancerMember ws://server2 route=3 timeout=600 ProxySet stickysession=ROUTEID lbmethod=byrequests </Proxy>
表面上,这意味着你没有加载你的Windows系统上的mod_proxy_wstunnel。