Forum: NGINX load balancing Global

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Glen L. (Guest)
on 2008-11-13 05:33
(Received via mailing list)
Is that posibble to use nginx as Global Load balancer? I used GeoIP load
balancing method



For example

1.1.1.1 (nginx)   -> 2.2.2.2 (apache) -> Local Network

                                -> 3.3.3.3 (apache) -> External Network
(Different country)



What I know right know, traffic IN/OUT is from 1.1.1.1

Is that posibble is

Traffic IN -> 1.1.1.1

If the IP is coming from outside of my country, nginx will redirect it
to
3.3.3.3

But the traffic to 3.3.3.3 is not coming from 1.1.1.1, but directly from
3.3.3.3 to the clients



How can I do this method?





Regards,



Glen L.
Glen L. (Guest)
on 2008-11-15 00:41
(Received via mailing list)
Am I able to implement this with rewrite module?



If yes, how can I make the rewrite rule?





Regards,



Glen L.



From: Glen L. [mailto:removed_email_address@domain.invalid]
Sent: 13 Nopember 2008 10:23
To: 'removed_email_address@domain.invalid'
Subject: load balancing Global



Is that posibble to use nginx as Global Load balancer? I used GeoIP load
balancing method



For example

1.1.1.1 (nginx)   -> 2.2.2.2 (apache) -> Local Network

                                -> 3.3.3.3 (apache) -> External Network
(Different country)



What I know right know, traffic IN/OUT is from 1.1.1.1

Is that posibble is

Traffic IN -> 1.1.1.1

If the IP is coming from outside of my country, nginx will redirect it
to
3.3.3.3

But the traffic to 3.3.3.3 is not coming from 1.1.1.1, but directly from
3.3.3.3 to the clients



How can I do this method?





Regards,



Glen L.
This topic is locked and can not be replied to.