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 {
>
Добавив include вы измените файл. Или я что то не понимаю
2016-08-26 18:25 GMT+03:00 Vadim A. Misbakh-Soloviov :
> > А как вы вынесети директивы из контекста main/events, например, в
> > /etc/nginx/conf.d?
>
> include
> ___
> nginx-ru
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
___
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
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
Доброго времени суток!
Я установил и настроил nginx на centOS 7.
При попытке захода на ip адрес сервера выдает ошибку Bad Request - Invalid
Hostname и HTTP Error 400. The request hostname is invalid.
Что это может быть, подскажите, пожалуйста!
Сервер доступен по ftp и по ssh по этому же ip
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
пт, 26 авг. 2016 г. в 15:25, Alex Domoradov :
> При обновлении вроде будет спрашивать, там можно будет посмотреть различия
> и оставить старый или применить новый
>
А если директивы, дефолтные значения которых не нравятся, переопределять в
/etc/nginx/conf.d, что зачастую
details: http://hg.nginx.org/nginx/rev/5e2821c2de46
branches:
changeset: 6668:5e2821c2de46
user: Vladimir Homutov
date: Fri Aug 26 15:33:02 2016 +0300
description:
Stream: the $bytes_received variable.
The variable keeps the number of bytes received from the client.
details: http://hg.nginx.org/nginx/rev/164a0824ce20
branches:
changeset: 6669:164a0824ce20
user: Vladimir Homutov
date: Fri Aug 26 15:33:04 2016 +0300
description:
Stream: the $session_time variable.
The variable keeps time spent on processing the stream session.
details: http://hg.nginx.org/nginx/rev/c6372a40c2a7
branches:
changeset: 6670:c6372a40c2a7
user: Vladimir Homutov
date: Fri Aug 26 15:33:07 2016 +0300
description:
Stream: the $protocol variable.
The variable keeps protocol used by the client, "TCP" or "UDP".
При обновлении вроде будет спрашивать, там можно будет посмотреть различия
и оставить старый или применить новый
2016-08-26 10:40 GMT+03:00 Helper code :
> Daniel Podolsky Wrote:
> ---
> > Сильно зависит от способа,
details: http://hg.nginx.org/nginx/rev/33d075b9097d
branches:
changeset: 6667:33d075b9097d
user: Piotr Sikora
date: Mon Aug 15 05:52:04 2016 -0700
description:
Thread pools: create threads in detached state.
This prevents theoretical resource leak, since
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:
skeletor Wrote:
---
> а этот IP назначен интерфейсу? nginx его слушает?
да
Posted at Nginx Forum:
https://forum.nginx.org/read.php?21,269007,269203#msg-269203
___
nginx-ru mailing list
Daniel Podolsky Wrote:
---
> Сильно зависит от способа, которым вы обновляете nginx, Вы не
> находите?
Стандартным для Ubuntu (apt-get update и apt-get upgrade).
Posted at Nginx Forum:
> Происходит ли обновление (изменение) nginx.conf при обновлении версии nginx
> или он остается статическим после первой инсталляции nginx?
Сильно зависит от способа, которым вы обновляете nginx, Вы не находите?
___
nginx-ru mailing list
read file is block, nginx can Using coroutines implementation file to read
and write。(write log file and read cache file)
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,269199,269199#msg-269199
___
nginx mailing list
nginx@nginx.org
21 matches
Mail list logo