Welcome! Log In Create A New Profile

Advanced

Re: Nginx Windows | Keepalive timeouts location based

Styopa Semenukha
August 26, 2014 01:00PM
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@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.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Nginx Windows | Keepalive timeouts location based

c0nw0nk August 26, 2014 12:50PM

Re: Nginx Windows | Keepalive timeouts location based

itpp2012 August 26, 2014 12:58PM

Re: Nginx Windows | Keepalive timeouts location based

Styopa Semenukha August 26, 2014 01:00PM

Re: Nginx Windows | Keepalive timeouts location based

Maxim Dounin August 26, 2014 01:04PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 229
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready