>>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-fo...@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

Reply via email to