Re: Fetching a string by parsing URL

2015-07-21 Thread sudharshanr
Edho Arief: Thanks, but I think I need to rephrase my question. Right now, my nginx.conf looks like this: location ~*/path1/{ if (-f $document_root/error503.html) { return 503; } } error_page 5

Re: Fetching a string by parsing URL

2015-07-21 Thread Edho Arief
On Jul 22, 2015 11:43, "sudharshanr" wrote: > > I have a web server sitting behind Nginx. If there is an error, then I want > to fetch some information from the url and pass it on to a static file as > parameters. I have configured Nginx to fetch the query parameters from the > url using $arg_para

Fetching a string by parsing URL

2015-07-21 Thread sudharshanr
I have a web server sitting behind Nginx. If there is an error, then I want to fetch some information from the url and pass it on to a static file as parameters. I have configured Nginx to fetch the query parameters from the url using $arg_param_name. However, I also need to fetch a String from t

Nginx 1.8 proxying to Netty - timeout from upstream

2015-07-21 Thread smuthali
I have setup Nginx proxy to a Netty server. I am seeing a timeout from upstream, i.e. Netty. The consequence of this timeout is that the JSON payload response is truncated (as seen on browser developer tools) 2015/07/21 05:08:56 [error] 6#0: *19 upstream prematurely closed connection while readin