Re: Caching servers in Local ISPs !!

2014-05-09 Thread Steve Holdoway
You might want to look at lsyncd - a GZSOC project - to ease the synchronisation. I have had good results with it. Steve On Sat, 2014-05-10 at 00:22 +0500, shahzaib shahzaib wrote: > @itpp thanks for replying. > > > So on easy note, i would have to assign those machines the preferred > dns and

Re: subs filter error

2014-05-09 Thread Jonathan Matthews
On 9 May 2014 13:36, Tom McLoughlin wrote: > I keep getting this error every time someone loads a page. > subs filter header ignored, this may be a compressed response. while > reading response header from upstream, client: xx.xx.xx.xx, server: , > request: "GET /search/sharepoint/0/7/0 HTTP/1.1",

Re: Caching servers in Local ISPs !!

2014-05-09 Thread itpp2012
> So on easy note, i would have to assign those machines the preferred > dns > and use rsync on regular basis in order to make identical data > between > local caching machines and main front end content servers ? Yep. > What if a client request a video which is not in local caching server > ?

Re: Caching servers in Local ISPs !!

2014-05-09 Thread shahzaib shahzaib
@itpp thanks for replying. So on easy note, i would have to assign those machines the preferred dns and use rsync on regular basis in order to make identical data between local caching machines and main front end content servers ? What if a client request a video which is not in local caching se

Re: Caching servers in Local ISPs !!

2014-05-09 Thread itpp2012
Its quite simple, think of it this way, a DNS entry does not have to point to the same IP everywhere. Place your cache machines at a ISP, have them assign its IP to your preferred dns name, thats about it. The rest like distribution works like a reverse riverbed with a master mirror, rsync or the

Re: Caching servers in Local ISPs !!

2014-05-09 Thread shahzaib shahzaib
@Rainer, we're already in contact with one of our Country's ISP(80% of the country users are using that ISP services) .So, they can do much better work than the DNS sites you provided because we only required caching for our country. On Fri, May 9, 2014 at 10:18 PM, Rainer Duffner wrote: > > Am

Re: Caching servers in Local ISPs !!

2014-05-09 Thread Rainer Duffner
Am 09.05.2014 um 16:58 schrieb shahzaib shahzaib : > Hello, > > We're running a high traffic website similar to youtube.com. Due to > high bandwidth utilization over the network, we're in contact with the local > ISP in order to put caching server to reduce bandwidth utilization for file

Caching servers in Local ISPs !!

2014-05-09 Thread shahzaib shahzaib
Hello, We're running a high traffic website similar to youtube.com. Due to high bandwidth utilization over the network, we're in contact with the local ISP in order to put caching server to reduce bandwidth utilization for file streaming. Our main front end content servers (nginx) are locate

Re: Multiple reverse proxies that read from /static/ ?

2014-05-09 Thread kafonek
Yep, thanks Matt. In case anyone else runs across this post, Django static url prefixes are configured in your django project settings.py (https://docs.djangoproject.com/en/1.6/ref/settings/#std:setting-STATIC_URL). Ipython notebook static url prefixes are configured in the NotebookApp.webapp set

subs filter error

2014-05-09 Thread Tom McLoughlin
I'm running a TPB proxy on nginx using subs_filter to monetize the proxy with ads, and I keep getting this error every time someone loads a page. subs filter header ignored, this may be a compressed response. while reading response header from upstream, client: xx.xx.xx.xx, server: , request: "GET

Re: Multiple reverse proxies that read from /static/ ?

2014-05-09 Thread Matt Gray
I think your comment "intuitively nesting doesn't work" is correct - you wish to merge the uri spaces of django and ipython into one, which means that if both apps need (eg) /static/css/main.css, they will collide and one app will always get the wrong file. It might be that you can avoid collisions

Re: $arg_name as an array

2014-05-09 Thread beatnut
Thanks for explanation. I'll try with example above. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,249982,249987#msg-249987 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: $arg_name as an array

2014-05-09 Thread Matt Gray
Note that this is not "treating $arg_name as an array", it's simply allowing you to use the [] characters in a variable name - usually only a-z0-9_ is allowed On 9 May 2014 11:02, Matt Gray wrote: > On 9 May 2014 10:16, beatnut wrote: > >> >> Does it possible to use $arg_name as an array? >> F

Re: $arg_name as an array

2014-05-09 Thread Matt Gray
On 9 May 2014 10:16, beatnut wrote: > > Does it possible to use $arg_name as an array? > For example > I've query string : ?opt[test]=1 > > I'd like to get value od opt[test] but $arg_opt[test] doesn't work. > > Is there special syntax for that case? > This thread might be of interest: http://fo

Re: $arg_name as an array

2014-05-09 Thread Jonathan Matthews
On 9 May 2014 10:16, beatnut wrote: > Hello, > > Does it possible to use $arg_name as an array? > For example > I've query string : ?opt[test]=1 > > I'd like to get value od opt[test] but $arg_opt[test] doesn't work. > > Is there special syntax for that case? Query strings arguments are just stri

Re: Proxy buffering

2014-05-09 Thread JSurf
Great news! Thanks! Posted at Nginx Forum: http://forum.nginx.org/read.php?2,244680,249983#msg-249983 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

$arg_name as an array

2014-05-09 Thread beatnut
Hello, Does it possible to use $arg_name as an array? For example I've query string : ?opt[test]=1 I'd like to get value od opt[test] but $arg_opt[test] doesn't work. Is there special syntax for that case? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,249982,249982#msg-249982 _

Re: $memcached_key doesn't fetch unicode url

2014-05-09 Thread kirpit
A note to the history that is good to know. Thanks Maxim, even though we choose not to use unicode urls to make things less complicated. On Fri, May 9, 2014 at 4:13 AM, Maxim Dounin wrote: > Hello! > > On Sun, May 04, 2014 at 06:42:39PM +0300, kirpit wrote: > > > Hi, > > > > I'm doing some sor

Re: proxying of POST requests based on $args not working

2014-05-09 Thread M. G.
Hi,     > On Friday, 9 May 2014 12:36 PM, Maxim Dounin wrote:         > The $args variable is "arguments in the request line", see  http://nginx.org/r/$args. It is not expected to contain any data  from POST request body. Firstly thank you for your quick response. We need to proxy a specifi

Re: proxying of POST requests based on $args not working

2014-05-09 Thread Maxim Dounin
Hello! On Thu, May 08, 2014 at 11:49:55PM -0700, M. G. wrote: > Hi, > > The proxying of GET requests on $args i.e. feedid=293634 goes to server2 > properly. > > But proxying of POST requests on $args i.e. feedid=293634 always goes to > server1 instead of server2. The $args variable is "argum