Re: Nginx не отвечает на запросы

2016-09-15 Thread Mikanoshi
Отключил оба модуля сторонних - то же самое, виснет. Posted at Nginx Forum: https://forum.nginx.org/read.php?21,269501,269606#msg-269606 ___ nginx-ru mailing list nginx-ru@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-ru

how to get common name from client cert in TLS connection instead of HTTPS

2016-09-15 Thread Albert Zhang
how to get common name from client cert in TLS connection instead of HTTPS. I am using TLS not https and want to get common name from client cert using nginx plus ami on was, I am using AWS elb(ssl)+nginx client certificate ssl I know use $ssl_client_s_dn but how to get/compare the value here

purge cache on put/post request

2016-09-15 Thread caviar34
Здравствуйте. Хочется настроить nginx следующим образом: - Приходит GET - кэшируем, либо отдаем из кэша. - Приходит PUT, удаляем весь кэш, пропускаем запрос на бэкенд. Смотрю в сторону встроенного perl, в правильную ли сторону смотрю? Posted at Nginx Forum:

Re: we need an explicit max_fails flag to allow origin error through?

2016-09-15 Thread Maxim Dounin
Hello! On Thu, Sep 15, 2016 at 02:55:47PM +0100, Mark McDonnell wrote: > We have an upstream that we know is serving a 500 error. > > We've noticed that NGINX is serving up a nginx specific "502 Bad Gateway" > page instead of showing the actual Apache origin error that we'd expect to > come

[njs] Fixed compilation of nginx njs module without stream or http.

2016-09-15 Thread Roman Arutyunyan
details: http://hg.nginx.org/njs/rev/16cc1aaf4e47 branches: changeset: 174:16cc1aaf4e47 user: Roman Arutyunyan date: Thu Sep 15 17:34:34 2016 +0300 description: Fixed compilation of nginx njs module without stream or http. Additionally, support for nginx versions

we need an explicit max_fails flag to allow origin error through?

2016-09-15 Thread Mark McDonnell
Hello, We have an upstream that we know is serving a 500 error. We've noticed that NGINX is serving up a nginx specific "502 Bad Gateway" page instead of showing the actual Apache origin error that we'd expect to come through. To solve this we've added `max_fail: 0` onto the upstream server

[nginx] Version bump.

2016-09-15 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/4bce3edfac2c branches: changeset: 6691:4bce3edfac2c user: Vladimir Homutov date: Thu Sep 15 14:56:26 2016 +0300 description: Version bump. diffstat: src/core/nginx.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)

[nginx] Stream: phases.

2016-09-15 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/3908156a51fa branches: changeset: 6693:3908156a51fa user: Roman Arutyunyan date: Thu Sep 15 14:55:54 2016 +0300 description: Stream: phases. diffstat: src/stream/ngx_stream.c | 110

[nginx] Stream: ssl_preread module.

2016-09-15 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/060d71292b69 branches: changeset: 6695:060d71292b69 user: Vladimir Homutov date: Thu Sep 15 14:56:51 2016 +0300 description: Stream: ssl_preread module. The ssl_preread module extracts information from the SSL Client Hello

[nginx] Stream: preread phase.

2016-09-15 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/ea9dfe2f62e7 branches: changeset: 6694:ea9dfe2f62e7 user: Vladimir Homutov date: Thu Sep 15 14:56:02 2016 +0300 description: Stream: preread phase. In this phase, head of a stream is read and analysed before proceeding to the

[nginx] Stream: filters.

2016-09-15 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/56fc55e32f23 branches: changeset: 6692:56fc55e32f23 user: Roman Arutyunyan date: Thu Sep 15 14:55:46 2016 +0300 description: Stream: filters. diffstat: auto/modules|6 +- auto/sources

Proxy_cache with variable

2016-09-15 Thread Jugurtha
Hello dream team, I have problem when i use "proxy_cache" with a variable ! Using "proxy_cache_purge" (call to proxy_cache) directive with a variable seems to change that variable's value. Tested on the last version nginx/1.11.4 (on Sles11 SP3) I would change my name cache dynamically The

[njs] Style: express requirement to use PCRE via $ngx_module_libs.

2016-09-15 Thread Ruslan Ermilov
details: http://hg.nginx.org/njs/rev/1745fcf4a5cc branches: changeset: 173:1745fcf4a5cc user: Ruslan Ermilov date: Thu Sep 15 10:52:01 2016 +0300 description: Style: express requirement to use PCRE via $ngx_module_libs. diffstat: nginx/config | 8 1

Re: Run time php variable change

2016-09-15 Thread Tseveendorj Ochirlantuu
Great. Thank you. On Thu, Sep 15, 2016 at 4:45 PM, basti wrote: > It should work per location. I have nothing found in the docs at the > moment. > But be warned if you use more than one value here you must do something > like > > fastcgi_param PHP_VALUE

Re: Run time php variable change

2016-09-15 Thread basti
It should work per location. I have nothing found in the docs at the moment. But be warned if you use more than one value here you must do something like fastcgi_param PHP_VALUE "register_globals=0 display_errors=0"; or fastcgi_param PHP_VALUE "register_globals=0\ndisplay_errors=0"; On

Re: Run time php variable change

2016-09-15 Thread Tseveendorj Ochirlantuu
Hello, Basti thank you for help. Does this override system wide or it applied to /foo location ? Best regards, Tseveen On Thu, Sep 15, 2016 at 4:20 PM, basti wrote: > Hello, > > you can use "fastcgi_param PHP_VALUE" to change PHP values. > > For example: > >

Re: Run time php variable change

2016-09-15 Thread basti
Hello, you can use "fastcgi_param PHP_VALUE" to change PHP values. For example: location /foo { location ~ ^(.*.\.php)(.*)$ { fastcgi_buffers 4 256k; fastcgi_buffer_size 128k; fastcgi_param PHP_VALUE "max_execution_time = 60"; } } Best Regards, Basti On 15.09.2016

Re: no live upstreams and NO previous error

2016-09-15 Thread drookie
Oh, solved. Upstreams do respond with 500. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,269577,269584#msg-269584 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: no live upstreams and NO previous error

2016-09-15 Thread drookie
(yup, it's still the author of the original post, but my other browser just remembers another set of credentials). If I increase verbosity of the error_log, I'm seeing additional messages in log, like upstream server temporarily disabled while reading response header from but this message

Re-balancing Upstreams in TCP Loadbalancer

2016-09-15 Thread Balaji Viswanathan
Hello Nginx Users, I am running nginx as a TCP load balancer. I am trying to find a way to redistribute client TCP connections to upstream servers, specifically, rebalance the load on the upstream servers (on some event) when clients are using persistent TCP connections. The scenario is as