Caching servers in Local ISPs !!

itpp2012 nginx-forum at nginx.us
Fri Jun 6 15:26:07 UTC 2014


shahzaib1232 Wrote:
-------------------------------------------------------
> @itpp I am currenlty proceeding with proxy_cache method just because i
> had
> to done this in emergency mode due to boss pressure :-|. I have a
> quick
> question, can i make nginx to cache files for specific clients ?
> 
> Like, if our caching servers are deployed by only single ISP named
> "ptcl".
> So if ip from ptcl client is browsing video, only his requested file
> should
> be cached not for any other client, does nginx support that ??

You could do this based on some IP ranges or via
https://github.com/flant/nginx-http-rdns

See
http://serverfault.com/questions/380642/nginx-how-to-redirect-users-with-certain-ip-to-special-page
and
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,250707#msg-250707



More information about the nginx mailing list