简体   繁体   中英

is it possible to have load balancer with reverse proxy on apache server?

currently I am having 4 servers as below
A : 191.11.1.100
B : 191.11.1.101
C : 191.11.1.102
D : 191.11.1.103

www.example.com is cent OS server where I have installed apache and I am able to do load balancing of server A and B on the same with help of JKMount but on the same server I want to have reverse proxy for server C and D with reverse proxy string Test and Demo

so that if URL is entered as www.example.com then it should be redirect either of server A and B response should be under www.example.com URL if www.example.com/Test then request should be redirected to server C and response should be under www.example.com/Test if www.example.com/Test then request should be redirected to server D and response should be under www.example.com/Demo httpd conf

工作人员属性文件

Yes, It is possible have loadbalancer with reverse proxy

You only need to add node under tag as below

ProxyPass /demo http://172.16.XX.XX:9191/Login/ ProxyPassReverse /demo http://172.16.XX.XX:9191/Login/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM