Nginx Windows | Keepalive timeouts location based

Styopa Semenukha semenukha at gmail.com
Tue Aug 26 16:58:02 UTC 2014


On Tuesday, August 26, 2014 12:50:08 PM c0nw0nk wrote:
> I can't tell if this is working or not so i thought i would just ask and
> perhaps someone can inform me but with nginx keep alive timeouts can we set
> different timeout values per each location or file type being accessed ?
> 
> Example :
> location ~ \.flv$ {
> flv;
> keepalive_timeout  60s;
> }
> location ~ \.mp4$ {
> keepalive_timeout  3600s;
> }
> 
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,252851,252851#msg-252851
> 
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx

Yes, we can:
http://nginx.org/en/docs/http/ngx_http_core_module.html#keepalive_timeout
> Context:	http, server, location
-- 
Best regards,
Styopa Semenukha.



More information about the nginx mailing list