June 17, 2014 10:00AM
Thanks itpp but the issue is still same and still the ip is from the main
server in inspect element as well as in local-caching nginx access logs, i
am getting the client ip as main-server's ip instead of original client ip
and i am sure that i am doing something wrong. Well i have another question
now, as our test with CIDR notation worked well with nginx geo module and
nginx decided to route specific ips to specific server (caching server).

So, the specific subnet coming from our ISP to the main server will be
routed to the local caching server and our ISP will have to tell us each
time to add specific ip prefix in the nginx config to route them towards
their caching server. So the problem is, whenever few hundreds ip prefixes
are added to their network, they'll have to provide us those prefixes in
order to enable caching for newly added ips.

We just had a chat with our local ISP and he said that you should use some
services like BGP to automatically detect if any new ip prefixes are added
to our network and we'll not have to tell you each time we add some ip
prefixes to our network.

Could you guide me how could i make this work in our environment. The basic
architecture of our network is :-

Two static servers (serving mp4,jpg). One server located in US and one
server located in Local ISP.

I hope you can put me on some track as you did in the past and provide me
some kick start to work with BGP.




On Mon, Jun 16, 2014 at 10:41 PM, itpp2012 <nginx-forum@nginx.us> wrote:

> shahzaib1232 Wrote:
> -------------------------------------------------------
>
> > Maybe i need to add some variable to get original server ip ?
>
> https://www.google.nl/#q=nginx+geo+remote+ip+address
>
>
> http://www.cyberciti.biz/faq/nginx-redirect-backend-traffic-based-upon-client-ip-address/
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,249997,250895#msg-250895
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Caching servers in Local ISPs !!

shahzaib1232 May 09, 2014 11:00AM

Re: Caching servers in Local ISPs !!

Rainer Duffner May 09, 2014 01:20PM

Re: Caching servers in Local ISPs !!

shahzaib1232 May 09, 2014 01:46PM

Re: Caching servers in Local ISPs !!

itpp2012 May 09, 2014 02:49PM

Re: Caching servers in Local ISPs !!

shahzaib1232 May 09, 2014 03:24PM

Re: Caching servers in Local ISPs !!

itpp2012 May 09, 2014 04:01PM

Re: Caching servers in Local ISPs !!

GreenGecko May 10, 2014 12:26AM

Re: Caching servers in Local ISPs !!

shahzaib1232 May 10, 2014 05:20AM

Re: Caching servers in Local ISPs !!

itpp2012 May 10, 2014 06:39AM

Re: Caching servers in Local ISPs !!

shahzaib1232 May 27, 2014 06:14AM

Re: Caching servers in Local ISPs !!

itpp2012 May 27, 2014 06:55AM

Re: Caching servers in Local ISPs !!

shahzaib1232 May 27, 2014 08:18AM

Re: Caching servers in Local ISPs !!

itpp2012 May 27, 2014 09:00AM

Re: Caching servers in Local ISPs !!

shahzaib1232 May 27, 2014 09:28AM

Re: Caching servers in Local ISPs !!

itpp2012 May 27, 2014 09:41AM

Re: Caching servers in Local ISPs !!

shahzaib1232 May 28, 2014 04:48AM

Re: Caching servers in Local ISPs !!

shahzaib1232 May 28, 2014 05:18AM

Re: Caching servers in Local ISPs !!

itpp2012 May 28, 2014 05:50AM

Re: Caching servers in Local ISPs !!

shahzaib1232 May 28, 2014 07:20AM

Re: Caching servers in Local ISPs !!

shahzaib1232 June 04, 2014 02:52PM

Re: Caching servers in Local ISPs !!

itpp2012 June 04, 2014 03:19PM

Re: Caching servers in Local ISPs !!

shahzaib1232 June 04, 2014 03:24PM

Re: Caching servers in Local ISPs !!

shahzaib1232 June 06, 2014 09:38AM

Re: Caching servers in Local ISPs !!

itpp2012 June 06, 2014 11:26AM

Re: Caching servers in Local ISPs !!

shahzaib1232 June 06, 2014 11:58AM

Re: Caching servers in Local ISPs !!

shahzaib1232 June 16, 2014 01:20PM

Re: Caching servers in Local ISPs !!

itpp2012 June 16, 2014 01:41PM

Re: Caching servers in Local ISPs !!

shahzaib1232 June 17, 2014 10:00AM

Re: Caching servers in Local ISPs !!

itpp2012 June 17, 2014 01:11PM

Re: Caching servers in Local ISPs !!

shahzaib1232 June 17, 2014 02:10PM

Re: Caching servers in Local ISPs !!

itpp2012 June 17, 2014 02:32PM

Re: Caching servers in Local ISPs !!

shahzaib1232 June 17, 2014 02:48PM

Re: Caching servers in Local ISPs !!

shahzaib1232 June 17, 2014 02:48PM

Re: Caching servers in Local ISPs !!

itpp2012 June 17, 2014 03:50PM

Re: Caching servers in Local ISPs !!

shahzaib1232 June 18, 2014 01:12PM

Re: Caching servers in Local ISPs !!

itpp2012 June 18, 2014 02:24PM

Re: Caching servers in Local ISPs !!

shahzaib1232 June 18, 2014 02:32PM

RE: Caching servers in Local ISPs !!

Lukas Tribus June 18, 2014 03:36PM

Re: Caching servers in Local ISPs !!

shahzaib1232 June 18, 2014 03:46PM

Re: Caching servers in Local ISPs !!

Jonathan Matthews June 18, 2014 04:06PM

Re: Caching servers in Local ISPs !!

shahzaib1232 June 19, 2014 01:22AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 266
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready