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.
103e3ecb1c838c6c7e52a0ee12ee6e1a?d=identicon&s=25 Glen Lumanau (Guest)
on 2008-11-13 04: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 Lumanau
103e3ecb1c838c6c7e52a0ee12ee6e1a?d=identicon&s=25 Glen Lumanau (Guest)
on 2008-11-14 23: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 Lumanau



From: Glen Lumanau [mailto:glen@lumanau.web.id]
Sent: 13 Nopember 2008 10:23
To: 'nginx@sysoev.ru'
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 Lumanau
This topic is locked and can not be replied to.