Order of execution of nginx filters

2016-07-04 Thread Raghavan, Gopal
Hi, I have the following three directives: location = /hello { hello_world; hola_mundo on; bonjour_monde on; } hello_world is an nginx handler module that provides content “hello world” hola_mundo and bonjour_monde are filters that add to the

Issue with KeepAlive

2016-07-04 Thread st.gabrielli
Hi all, I need help on managing KeepAlive on my nginx webservice. Seeing error logs seems that many keepalive HTTP request are discarded by Nginx. On client side this behaviour seems to be a timeout. This is my code: if(strlen(session->response) > 0) { b->pos = (u_char

Re: NGINX некоторое время не принимает запросы после выполнения reload

2016-07-04 Thread Валентин Бартенев
On Monday 04 July 2016 18:14:00 Дмитрий Ансимов wrote: > Задавал вопрос тут , но опишу суть проблемы и > симптомы: > > Во время релоада конфига nginx (4 ядра, 4Gb, выступает в роли reverse > proxy) временно перестает отвечать на запросы, включая и те, что приходят > на

Re: NGINX некоторое время не принимает запросы после выполнения reload

2016-07-04 Thread Maxim Konovalov
On 7/4/16 6:53 PM, Дмитрий Ансимов wrote: > Нет, память не кончается, свопа же на инстансе просто нет. > cpu точно хватает? %idle какой в процессе reload? -- Maxim Konovalov ___ nginx-ru mailing list nginx-ru@nginx.org

Re: NGINX некоторое время не принимает запросы после выполнения reload

2016-07-04 Thread Maxim Dounin
Hello! On Mon, Jul 04, 2016 at 06:14:00PM +0300, Дмитрий Ансимов wrote: > Задавал вопрос тут , но опишу суть проблемы и > симптомы: > > Во время релоада конфига nginx (4 ядра, 4Gb, выступает в роли reverse > proxy) временно перестает отвечать на запросы, включая и

[nginx] Stream: return module.

2016-07-04 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/4c4ac9e335c4 branches: changeset: 6612:4c4ac9e335c4 user: Roman Arutyunyan date: Wed May 18 22:08:49 2016 +0300 description: Stream: return module. diffstat: auto/modules |8 + auto/options

[nginx] Stream: variables and script.

2016-07-04 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/c70b7f4537e1 branches: changeset: 6607:c70b7f4537e1 user: Vladimir Homutov date: Mon Jul 04 16:37:36 2016 +0300 description: Stream: variables and script. This is a port of corresponding http code with unrelated features

[nginx] Stream: core module variables.

2016-07-04 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/eb4293155e87 branches: changeset: 6608:eb4293155e87 user: Vladimir Homutov date: Tue Jun 14 18:28:14 2016 +0300 description: Stream: core module variables. diffstat: src/stream/ngx_stream_variables.c | 350

[nginx] Stream: map module.

2016-07-04 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/73543af69f14 branches: changeset: 6609:73543af69f14 user: Vladimir Homutov date: Wed Jun 29 12:46:12 2016 +0300 description: Stream: map module. diffstat: auto/modules |8 + auto/options

[nginx] Stream: got rid of pseudo variables.

2016-07-04 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/d5b5866c06c4 branches: changeset: 6610:d5b5866c06c4 user: Vladimir Homutov date: Wed Jun 29 12:46:12 2016 +0300 description: Stream: got rid of pseudo variables. Stream limit_conn, upstream_hash and proxy modules now use

[nginx] Stream: added preconfiguration step.

2016-07-04 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/2f41d383c9c7 branches: changeset: 6606:2f41d383c9c7 user: Vladimir Homutov date: Wed Jun 15 15:10:24 2016 +0300 description: Stream: added preconfiguration step. diffstat: src/stream/ngx_stream.c|

Re: [PATCH 1 of 2] HTTP: add support for trailers in HTTP responses

2016-07-04 Thread Maxim Dounin
Hello! On Thu, Jun 30, 2016 at 12:56:50PM -0700, Piotr Sikora wrote: > Hey Maxim, > > > Would adding r->trailers_emit (or r->expect_trailers, whichever you > > prefer) make you happy? > > Ping. I'm not convinced this feature is needed at all. It looks more like a Google-specific experiment,

Re: выдаёт ошибку при сборки nginx c --with-http perl module

2016-07-04 Thread Maxim Dounin
Hello! On Mon, Jul 04, 2016 at 08:50:23AM -0400, sashainvalid wrote: > Maxim Dounin Wrote: > --- > > Hello! > > > > On Sat, Jul 02, 2016 at 09:04:45AM -0400, sashainvalid wrote: > > > > > cc1: warnings being treated as errors > > >

Re: Странное с set_real_ip_from

2016-07-04 Thread Vladimir Sopot
Внезапно, подозреваю отсутствие в конфиге real_ip_recursive on; Сегодня буду тестировать. > On 02 Jul 2016, at 19:24, Vladimir Sopot wrote: > > Да, конечно, есть и real_ip_header X-Forwarded-For; > В конфиге есть ещё куча других сетей оперы и с ними, кажется, нет проблем. >

Re: WebRTC and NGINX Reverse Proxy

2016-07-04 Thread Ben
Sounds fabulous. Thank Vintila ! On 04/07/2016 09:27, Mihai Vintila wrote: It works with something like this: location ^~ /webrtc/ { if ($my_https = "off") { return 301 https://$host$request_uri; } limit_conn conn 100; limit_req zone=basic burst=3000 nodelay;

Re: выдаёт ошибку при сборки nginx c --with-http perl module

2016-07-04 Thread Maxim Dounin
Hello! On Sat, Jul 02, 2016 at 09:04:45AM -0400, sashainvalid wrote: > cc1: warnings being treated as errors > src/http/modules/perl/ngx_http_perl_module.c: In function > ‘ngx_http_perl_preconfiguration’: > src/http/modules/perl/ngx_http_perl_module.c:847: предупреждение: unused > parameter ‘cf’

Re: SNI support for nginx

2016-07-04 Thread Pratyush Kumar
You have to point to individual certificates/key in server blocks. ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: SNI support for nginx

2016-07-04 Thread Maxim Dounin
Hello! On Mon, Jul 04, 2016 at 06:31:02AM -0400, Sushma wrote: > I am relatively new to nginx. > I would like to setup multiple domains on the same port. Nginx has SNI > support enabled. > Do i have to still point to the right ssl certificate and ssl private in > each of server blocks using

SNI support for nginx

2016-07-04 Thread Sushma
Hi, I am relatively new to nginx. I would like to setup multiple domains on the same port. Nginx has SNI support enabled. Do i have to still point to the right ssl certificate and ssl private in each of server blocks using the ssl_certificate directive? Or is there a way, nginx will be able to

Re: WebRTC and NGINX Reverse Proxy

2016-07-04 Thread Mihai Vintila
It works with something like this: location ^~ /webrtc/ { if ($my_https = "off") { return 301 https://$host$request_uri; } limit_conn conn 100; limit_req zone=basic burst=3000 nodelay; proxy_pass http://backend; proxy_set_header X-Real-IP $remote_addr;