Re: load balancer on nginx : how to monitoring backend ?

2016-01-28 Thread Alexandre
Hello On 28/01/16 22:26, Aleksandar Lazic wrote: Hi. Am 28-01-2016 08:36, schrieb Alexandre: Hello, On 28/01/16 08:27, Maxim Konovalov wrote: On 1/28/16 1:32 AM, Alexandre wrote: Monitoring of backend seems to be possible with NGINX PLUS. Can you confirm ?

Re: echo-nginx-module and HTTP2

2016-01-28 Thread A. Schulze
Yichun Zhang (agentzh): Yeah, the ngx_echo module does not support the HTTP/2 mode yet (as the maintainer, I've never tested it anyway). Patches welcome and volunteers welcome :) thanks, I could not support with patches but would do some beta testing. Just to have ask: disabling http2 for

Re: echo-nginx-module and HTTP2

2016-01-28 Thread Yichun Zhang (agentzh)
Hello! On Thu, Jan 28, 2016 at 1:45 AM, A. Schulze wrote: > The echo module (https://github.com/openresty/echo-nginx-module / v0.58) > produce segfaults while accessing the following location: > ># echo back the client request >location /echoback { > echo_duplicate 1

Re: Question about rewrite directive

2016-01-28 Thread Lukas
> Lukas [2016-01-28 22:04]: > > > rai...@ultra-secure.de [2016-01-28 15:12]: > > > > a customer has this in his .htaccess file (among other things): > > > > RewriteCond %{REQUEST_FILENAME} !-f > > RewriteCond %{REQUEST_FILENAME} !-d > > RewriteRule

Re: Question about rewrite directive

2016-01-28 Thread Rainer Duffner
> Am 29.01.2016 um 00:06 schrieb Lukas : > >> Lukas [2016-01-28 22:04]: >> >>> rai...@ultra-secure.de [2016-01-28 15:12]: >>> >>> a customer has this in his .htaccess file (among other things): >>> >>> RewriteCond %{REQUEST_FILENAME} !-f >>>

Re: PHP path_info problem

2016-01-28 Thread Francis Daly
On Thu, Jan 28, 2016 at 08:43:13PM +, yoe...@gmail.com wrote: Hi there, > For instance i want yo access to  /final/app/app.PHP/controller/action/ i > hace this location un nginx.conf > > Location /final/app{ > > try_files $uri /app.php$is_args$args; > > } but still same 404 im using

Re: Question about rewrite directive

2016-01-28 Thread Francis Daly
On Thu, Jan 28, 2016 at 03:12:16PM +0100, rai...@ultra-secure.de wrote: Hi there, > RewriteCond %{REQUEST_FILENAME} !-f > RewriteCond %{REQUEST_FILENAME} !-d > RewriteRule ^(.+)\.(\d+)\.(php|js|css|png|jpg|gif|gzip)$ $1.$3 [L] > location ~* ^(.+)\.(\d+)\.(js|css|png|jpg|gif|gzip)$ { >

[ANN] OpenResty 1.9.7.3 released

2016-01-28 Thread Yichun Zhang (agentzh)
Hi folks OpenResty 1.9.7.3 is now released with the latest security fixes from the mainline NGINX core (CVE-2016-0742, CVE-2016-0746, CVE-2016-0747). https://openresty.org/#Download Both the (portable) source code distribution and the Win32 binary distribution are provided on this Download

Re: Question about rewrite directive

2016-01-28 Thread Lukas
> rai...@ultra-secure.de [2016-01-28 15:12]: > > Hi, > > > a customer has this in his .htaccess file (among other things): > > RewriteCond %{REQUEST_FILENAME} !-f > RewriteCond %{REQUEST_FILENAME} !-d > RewriteRule ^(.+)\.(\d+)\.(php|js|css|png|jpg|gif|gzip)$ $1.$3 [L] > >

Re: load balancer on nginx : how to monitoring backend ?

2016-01-28 Thread Aleksandar Lazic
Hi. Am 28-01-2016 08:36, schrieb Alexandre: Hello, On 28/01/16 08:27, Maxim Konovalov wrote: On 1/28/16 1:32 AM, Alexandre wrote: Monitoring of backend seems to be possible with NGINX PLUS. Can you confirm ? http://nginx.org/en/docs/http/ngx_http_upstream_module.html

proxy_cache_lock allow multiple requests to remote server in some cases

2016-01-28 Thread jeeeff
My understanding of proxy_cache_lock is that only one request should be passed to the proxied server for a given uri, even if many requests from the same uri/key are hitting nginx while it is being refreshed. When the cache folder specified in the proxy_cache_path is empty, it works well and

Re: [error] access forbidden by rule

2016-01-28 Thread Gena Makhomed
On 28.01.2016 0:59, Синицкий Павел Евгеньевич wrote: http://nginx.org/ru/docs/ngx_core_module.html#error_log не совсем понятно, что хотите получить в итоге.. вы явно указали правило исключения от дефолтного поведения и не хотите видеть это в error.log, или вы хотите видеть уровень info? info

[nginx] Resolver: per-request DNS server balancer.

2016-01-28 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/2e5c027f2a98 branches: changeset: 6366:2e5c027f2a98 user: Roman Arutyunyan date: Thu Jan 28 15:28:20 2016 +0300 description: Resolver: per-request DNS server balancer. Previously, a global server balancer was used to assign the

[nginx] Resolver: renamed UDP-specific structures, fields and va...

2016-01-28 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/d35b4d590b2d branches: changeset: 6365:d35b4d590b2d user: Roman Arutyunyan date: Thu Jan 28 15:28:20 2016 +0300 description: Resolver: renamed UDP-specific structures, fields and variables. They will be used for TCP connections

[nginx] Version bump.

2016-01-28 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/7fbeb0651e38 branches: changeset: 6363:7fbeb0651e38 user: Roman Arutyunyan date: Thu Jan 28 15:25:58 2016 +0300 description: Version bump. diffstat: src/core/nginx.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)

[nginx] Resolver: TCP support.

2016-01-28 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/5a16d40c63de branches: changeset: 6367:5a16d40c63de user: Roman Arutyunyan date: Thu Jan 28 15:28:20 2016 +0300 description: Resolver: TCP support. Resend DNS query over TCP once UDP response came truncated. diffstat:

Re: nginx-1.9.10

2016-01-28 Thread Aleksei
p{padding:0;margin:0;} Добрый день,спасибо за хороший ответ и понимание. я со своим зоопарком котов и слонов, вспомнил про L4 vs L7. почтовый клиент попробую заменить, почему-то на на веб странице нет возможности выбрать text.Удачного дня,Алексей КYesterday, 12:51 Валентин Бартенев

Re: load balancer on nginx : how to monitoring backend ?

2016-01-28 Thread Dewangga Bachrul Alam
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hello! If you are in development, you can try this module https://github.com/yaoweibin/nginx_upstream_check_module. But, not recommended if use on production, better use n+. On 01/28/2016 02:36 PM, Alexandre wrote: > Hello, > > On 28/01/16 08:27,

Re: load balancer on nginx : how to monitoring backend ?

2016-01-28 Thread CJ Ess
Does anyone know if the author still maintains nginx_upstream_check_module? I see only a handful of commits in the past year and they all look like contributed changes. On Thu, Jan 28, 2016 at 9:28 PM, Dewangga Bachrul Alam < dewangg...@xtremenitro.org> wrote: > -BEGIN PGP SIGNED

Question about rewrite directive

2016-01-28 Thread rainer
Hi, a customer has this in his .htaccess file (among other things): RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.+)\.(\d+)\.(php|js|css|png|jpg|gif|gzip)$ $1.$3 [L] This is to enable versioning of various files, so you can have long "Expires" on them