Re: internal location keepalive_requests issue

2016-08-26 Thread crasyangel
if (r->keepalive) { if (clcf->keepalive_timeout == 0) { r->keepalive = 0; } else if (r->connection->requests >= clcf->keepalive_requests) { r->keepalive = 0; } else if (r->headers_in.msie6 && r->method == NGX_HTTP_POST

Re: internal location keepalive_requests issue

2016-08-26 Thread Maxim Dounin
Hello! On Fri, Aug 26, 2016 at 02:50:15PM -0400, crasyangel wrote: > location /hls { > error_page 404 = @hls; > keepalive_requests 1000; > } > > location @hls { > # Serve HLS fragments > types { > application/vnd.app

internal location keepalive_requests issue

2016-08-26 Thread crasyangel
location /hls { error_page 404 = @hls; keepalive_requests 1000; } location @hls { # Serve HLS fragments types { application/vnd.apple.mpegurl m3u8; video/mp2t ts; } root /tmp;