Can Nginx load balance URLs?
PHP中文网
PHP中文网 2017-05-16 17:11:53
0
1
428

What I want to ask is, suppose:

I have 3 requests now:
a : http://test.com/aaa
b : http://test.com/bbb
c : http://test.com /ccc

Now I have 3 servers:
s1: Responsible for a, b request load
s2: Responsible for b, c request load
s3: Responsible for a, c request load

It means to ensure that if I request a request http://test.com/aaa, it will be distributed to s1, s2 will not be distributed to s3, and the same is true for b and c. How to achieve this? I think haproxy seems to It can be done.

I hope you can give me some guidance on what needs to be done or configured

PHP中文网
PHP中文网

认证0级讲师

reply all(1)
刘奇

It seems to be related to the location configuration in the server, I am trying it now

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template