configuring multiple domains using virtual host with mod proxy in a single httpd instance

后端 未结 2 602
长发绾君心
长发绾君心 2021-01-28 10:38

I have an apache instance running three domains using name based virtual hosting and every domain has resources to reverse proxy them down to an application server. Application

2条回答
  •  -上瘾入骨i
    2021-01-28 11:41

    Use the below sequence and test.

    ProxyPass /alpha !
    ProxyPass /gamma balancer://mycluster4/gamma
    ProxyPassReverse /gamma balancer://mycluster4/gamma
    ProxyPass / balancer://mycluster4/
    ProxyPassReverse / balancer://mycluster4/
    

提交回复
热议问题