Caching servers in Local ISPs !!

shahzaib shahzaib shahzaib.cb at
Thu Jun 19 05:20:19 UTC 2014

@Jonathon, yes you're right i should not post off-topic here, offcourse i
thought as nginx has tremendous amount of capabilities and there might be
alternative possibility of BGP too but i was wrong. I would be thankful if
you help me on ngx-http_geo_module as it is related to nginx and help me
with the following problem :-

Our local ISP provided us with some testing ip prefixes to check nginx
based caching.  i.e
geo {
default 0; 1; 1; 1;

Now whenever we add the prefix in geo {} , all the requests
coming from the and returns nginx 504 gateway error
and videos failed to stream. To resolve this issue, we have to remove 1; from geo block.

On Thu, Jun 19, 2014 at 1:05 AM, Jonathan Matthews <contact at>

> On 18 Jun 2014 20:45, "shahzaib shahzaib" <shahzaib.cb at> wrote:
> >
> > >>why not host those file on a professional CDN instead of in-house?
> > Because 80% of the traffic is from our country and 50% of that traffic
> is from the ISP we're talking to and this is the reason we deployed the
> caching box on this ISP edge.
> But, as this now pretty off-topic thread is repeatedly demonstrating, you
> haven't deployed diddly squat. You've just chucked a server in a rack and
> are having to rely on unpaid, debugging-by-email advice from an
> pseudonymous mailing list to get it even near functional. Let alone
> properly defined and understood.
> If your *business* needs to do this, pay a professional person or
> organisation to help you like others have suggested. The alternative, which
> you appear to be ending up with, is a black box of hacks known only to
> yourself and potentially understood by no-one, which will SPoF on you,
> personally, until you leave that organisation. You don't want that. Trust
> me.
> </sysadmin>
> Just my 2 cents,
> Jonathan
> _______________________________________________
> nginx mailing list
> nginx at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list