我试图/v1.0/api
使用 Apachemod_proxy_load
平衡器对来自 uri 到我的后端实例的请求进行负载平衡:
我尝试了以下配置:
<Proxy *>
Require all granted
</Proxy>
ProxyPass /v1.0/api/ !
ProxyPass / balancer://mycluster/ stickysession=BALANCEID nofailover=On
ProxyPassReverse / https://10.23.45.66:8081/v1.0/api/
ProxyPassReverse / https://10.23.45.67:8081/v1.0/api/
<Proxy balancer://mycluster>
BalancerMember https://10.23.45.66:8081/v1.0/api/ route=http1
BalancerMember https://10.23.45.67:8081/v1.0/api/ route=http2
</Proxy>
<Location /v1.0/api/>
SetHandler /v1.0/api/
Require all granted
</Location>
请帮我解决这个问题。
谢谢, 普拉迪普