A6101fb00636109da54e30aa5eb051feb3c137c2
By:
Lafriakh

nginx load balancing for two servers host images

April 10, 2016 1.3k views
Nginx Load Balancing

i want to user 3 servers.
server 1 for serve my application and handle load balancing
server 2 and 3 for host images.

Server 1

domain: example.com

Servers 2 & 3

server 2: image/img_1.jpg
server 3: image/img_2.jpg

i whant this image served like this.

example.com/image/img_1.jpg -> this from server 2
example.com/image/img_2.jpg -> this from server 3
1 Answer

Hello!

Try to use our balancer as a service solution: https://failovery.com .
There you could setup such load balancing without Server 1.

Have another answer? Share your knowledge.