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 _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx