Caching servers in Local ISPs !!
itpp2012
nginx-forum at nginx.us
Wed Jun 4 19:19:43 UTC 2014
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
More information about the nginx
mailing list