@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 ??
I know its kind of funny, but i've to complete this task :(
On Thu, Jun 5, 2014 at 12:23 AM, shahzaib shahzaib <shahzaib.cb@gmail.com>
wrote:
> >>Also sync to a temp folder and move after completion or nginx will
> attempt
> to send partial files.
>
> Oh right. Thanks for quick help and suggestion :). I'll look into wanproxy
> now.
>
>
>
>
> On Thu, Jun 5, 2014 at 12:19 AM, itpp2012 <nginx-forum@nginx.us> wrote:
>
>> shahzaib1232 Wrote:
>> -------------------------------------------------------
>> > @itpp, i just used your method try_files and it worked flawlessly :).
>> > Following is the testing config :
>> >
>> > server {
>> > listen 80;
>> > server_name domain.com;
>> > root /var/www/html/files;
>> >
>> > location / {
>>
>> location ~* (\.mp3|\.avi|\.mp4)$ {
>>
>> > Should i use rsync or lsync for mirroring the files between Origin and
>> > caching server ?
>>
>> Whatever works for you, I'd prefer rsync since that's easier to schedule
>> for
>> off-peek hours.
>> Also sync to a temp folder and move after completion or nginx will attempt
>> to send partial files.
>> see also http://wanproxy.org/
>>
>> Posted at Nginx Forum:
>> http://forum.nginx.org/read.php?2,249997,250645#msg-250645
>>
>> _______________________________________________
>> 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