Re: Does Nginx supports If-Range ?

2017-07-03 Thread Zhang Chao
Hi! I don’t know if it is an expected behaviour or a bug: Scenario 1(OK): If I perform a request with the header Range, Nginx serves the partial content(HTTP 206). Scenario 2 (NOT OK): If I perform a request with the header Range AND the header “If-Range” with the Etag, Nginx serves theentire fi

Does Nginx supports If-Range ?

2017-07-03 Thread Nelson Marcos
Hello everyone! I don't know if it is an expected behaviour or a bug: Scenario 1(OK): If I perform a request *with the header Range*, Nginx serves the *partial content(HTTP 206)*. Scenario 2 (NOT OK): If I perform a request *with the header Range AND the header "If-Range" *with the Etag, Nginx

Re: ngx_http_sub_module causes requests to hang on a simple match.

2017-07-03 Thread Peter Booth
What happens if you simplify the match string to only contain characters? Something like >> sub_filter 'xxx' 'yyy'; Can it ever do a substitute? Sent from my iPad > On Jul 2, 2017, at 8:26 AM, Valentin V. Bartenev wrote: > >> On Friday 30 June 2017 22:14:55 ptcell wrote: >> I've built with

Re: set_real_ip_from, real_ip_header directive in ngx_http_realip_module

2017-07-03 Thread Maxim Dounin
Hello! On Mon, Jul 03, 2017 at 04:57:31AM -0400, foxgab wrote: > Thinks for you reply. > i got a problem on http_realip_module, as what you said, duplicate addresses > occurred in that header. > if i want to get the real ip for access limiting, and append the last hop > proxy address in X-Forward

Custom error_log format

2017-07-03 Thread Georgi Georgiev
Hello, I would like to have / to add the $request_id variable in the error_log, but I read that the only possible way is to add it to the source code. Has anyone here an experience with that, which file and what should I add? Or some other workaround?

Client timed out errors !!

2017-07-03 Thread shahzaib mushtaq
Hi, We're seeing following info logs during serving mp4 videos via nginx : 2017/07/03 15:42:10 [info] 14725#100906: *964419 client timed out (60: Operation timed out) while sending mp4 to client, Is there anything we can do to fix it ? Thanks in advance !! Shahzaib

Re: set_real_ip_from, real_ip_header directive in ngx_http_realip_module

2017-07-03 Thread foxgab
hi Maxim, Thinks for you reply. i got a problem on http_realip_module, as what you said, duplicate addresses occurred in that header. if i want to get the real ip for access limiting, and append the last hop proxy address in X-Forwarded-Fro header at the same time, what should i do? Posted at Ngi