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
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
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;
It works by adding a X-Accel-Expires header to my php output what the
fastcgi_cache will follow what also then means if i use proxy_cache it would
follow it too :)
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,269212,269219#msg-269219
___
n
Maxim Dounin Wrote:
---
> Hello!
>
> On Fri, Aug 26, 2016 at 11:01:05AM -0400, c0nw0nk wrote:
>
> > So I have been trying to make the fastcgi_cache_valid value based on
> user
> > request.
> >
> > if ($request_uri ~ "/url1" ) {
> > set $cacheti
Hello!
On Fri, Aug 26, 2016 at 11:01:05AM -0400, c0nw0nk wrote:
> So I have been trying to make the fastcgi_cache_valid value based on user
> request.
>
> if ($request_uri ~ "/url1" ) {
> set $cachetime "any 5s";
> }
> if ($request_uri ~ "/url2" ) {
> set $cachetime "any 5m";
> }
>
> These did
fastcgi_request_buffering does deactivate request buffering from what I
understand from the docs.
client_body_buffer_size is said to be useful/used only when the previous
directive is activated.
>From what I read it seems your configuration attempts failed to load or to
be activated where needed.
What about marking the upstream servers you want to update as 'down' in
their pool, reloading the configuration (HUP signal, gracefully shutting
down old workers), and waiting for the links to those servers to be clear
of any activity?
Then upgrade and reintegrate updated servers in the pool (whil
So I have been trying to make the fastcgi_cache_valid value based on user
request.
if ($request_uri ~ "/url1" ) {
set $cachetime "any 5s";
}
if ($request_uri ~ "/url2" ) {
set $cachetime "any 5m";
}
These did not work because it turns out your not allowed to have a dynamic
variable within the fas
GreenGecko Wrote:
---
> answering my own question. If any of the files are missing, it returns
> a
> 404.
Hello,
I've never used nginx-http-concat, but you can disable this behavior with
"concat_ignore_file_error on". Found in the doc:
https:/
10 matches
Mail list logo