[nginx] Upstream: suppressed the file cache slab allocator error...

2014-09-05 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/063f7e75f9ef branches: changeset: 5822:063f7e75f9ef user: Roman Arutyunyan a...@nginx.com date: Fri Sep 05 18:14:59 2014 +0400 description: Upstream: suppressed the file cache slab allocator error messages. The messages ngx_slab_alloc() failed:

Re: [PATCH 1 of 2] clear err when ngx_regex_compile has allocation failure

2014-09-05 Thread Maxim Dounin
Hello! On Sun, Aug 17, 2014 at 11:00:29PM +0300, Markus Linnala wrote: # HG changeset patch # User Markus Linnala markus.linn...@cybercom.com # Date 1408303316 -10800 # Sun Aug 17 22:21:56 2014 +0300 # Node ID d350d288cffef0e6395ae1f412842c3b55bc8d42 # Parent

Re: [PATCH 2 of 2] fix ETag allocation failure

2014-09-05 Thread Maxim Dounin
Hello! On Sun, Aug 17, 2014 at 11:00:30PM +0300, Markus Linnala wrote: # HG changeset patch # User Markus Linnala markus.linn...@cybercom.com # Date 1408305457 -10800 # Sun Aug 17 22:57:37 2014 +0300 # Node ID 6af8cc12f3c933eed752e9ca61622d27a909ca00 # Parent

Re: [PATCH] SSL: guard use of all SSL options for bug workarounds

2014-09-05 Thread Maxim Dounin
Hello! On Wed, Sep 03, 2014 at 02:53:23PM -0700, Piotr Sikora wrote: # HG changeset patch # User Piotr Sikora pi...@cloudflare.com # Date 1409780995 25200 # Wed Sep 03 14:49:55 2014 -0700 # Node ID 9c59138cd7030a88a761856f849c581924ca1a3b # Parent

[emerg] duplicate listen options for X.X.X.X:80 in /usr/local/etc/nginx/nginx.conf:9

2014-09-05 Thread Илья Шипицин
Добрый день! если делаю вот так server { listen X.X.X.X:80 accept_filter=httpready; server_name 1.local; } server { listen X.X.X.X:80 accept_filter=httpready; server_name 2.local; } то получаю ошибку. также есть забавные ситуации

Re: [emerg] duplicate listen options for X.X.X.X:80 in /usr/local/etc/nginx/nginx.conf:9

2014-09-05 Thread Oleksandr V. Typlyns'kyi
Today Sep 5, 2014 at 12:19 Илья Шипицин wrote: если делаю вот так server { listen X.X.X.X:80 accept_filter=httpready; server_name 1.local; } server { listen X.X.X.X:80 accept_filter=httpready; server_name 2.local; } то

Re: [emerg] duplicate listen options for X.X.X.X:80 in /usr/local/etc/nginx/nginx.conf:9

2014-09-05 Thread Илья Шипицин
если я 2 раза (или 1 раз) укажу spdy - работать будет всегда в двух случаях и ошибки конфигурации не будет. кажется, что с фильтрами подобная логика была бы уместна. ну и, раз уж оно все равно работает во всех случаях, вероятно, имеет смысл выдавать warning, если указано не во всех (вдруг кто-то

400 Bad Request при http:// в Host

2014-09-05 Thread kilgur
Версия nginx: 1.6.1 При запросе вида GET http://somesite.ru/ HTTP/1.1 Host: http://somesite nginx отвечает вышеуказанной ошибкой (400 Bad Request) Строки в поле Host с любым мусором успешно игнорируются веб-сервером, но вот имя сайта с указанием протокола приводит к ошибке. В описании протокола

Re: 400 Bad Request при http:// в Host

2014-09-05 Thread Валентин Бартенев
On Friday 05 September 2014 05:59:08 kilgur wrote: Версия nginx: 1.6.1 При запросе вида GET http://somesite.ru/ HTTP/1.1 Host: http://somesite nginx отвечает вышеуказанной ошибкой (400 Bad Request) Строки в поле Host с любым мусором успешно игнорируются веб-сервером, но вот имя сайта с

Re: 400 Bad Request при http:// в Host

2014-09-05 Thread kilgur
Валентин Бартенев Wrote: --- Вы цитируете устаревший RFC, да ещё часть про роутинг, а не про корректность. На самом деле: http://tools.ietf.org/html/rfc7230#section-5.4 A server MUST respond with a 400 (Bad Request) status code to any

Re: 400 Bad Request при http:// в Host

2014-09-05 Thread Валентин Бартенев
On Friday 05 September 2014 07:53:52 kilgur wrote: Валентин Бартенев Wrote: --- Вы цитируете устаревший RFC, да ещё часть про роутинг, а не про корректность. На самом деле: http://tools.ietf.org/html/rfc7230#section-5.4 A

nginx несколько IP

2014-09-05 Thread arriah
Здравствуйте Есть сервер с двумя IP с одним сетевым интерфейсом.. IP прописан альясом nginx слушает на стандартном порту по дополнительному IP, а отвечает с основного Как настроить nginx, чтобы он отвечал с того же IP, на который приходит запрос? Спасибо. Posted at Nginx Forum:

NGINX SSL passthrough without certificate

2014-09-05 Thread OzJD
We currently have a backend server that listens for SSL requests, and (using SNI) chooses to pass them on to the correct place, or alternatively will serve the requested HTTPS. Our current configuration is slow (not painfully, just slower than we'd like), and we figured having NGINX do some of

RE: NGINX SSL passthrough without certificate

2014-09-05 Thread Lukas Tribus
Hi, We currently have a backend server that listens for SSL requests, and (using SNI) chooses to pass them on to the correct place, or alternatively will serve the requested HTTPS. Our current configuration is slow (not painfully, just slower than we'd like), and we figured having NGINX do

Re: RE: NGINX SSL passthrough without certificate

2014-09-05 Thread OzJD
Hi Lukas, While HAProxy is able to do some of those things (not sure about X-FORWARDED-FOR workarounds?), I'd still prefer to use NGINX where possible (for other reasons, such as PageSpeed support, etc) Is NGINX able to do any of the things mentioned in the question? Specifically, can it sort by

RE: NGINX SSL passthrough without certificate

2014-09-05 Thread Lukas Tribus
Hi, Hi Lukas, While HAProxy is able to do some of those things (not sure about X-FORWARDED-FOR workarounds?) Yes, haproxy supports and pushes the PROXY protocol for this exact reason. I'd still prefer to use NGINX where possible (for other reasons, such as PageSpeed support, etc)

Re: RE: NGINX SSL passthrough without certificate

2014-09-05 Thread OzJD
Lukas, I think you're right. The combination of three may be optimal at this time. I'll see what I come up with - I hadn't heard of the PROXY protocol before (was thinking of something similar though). That's made my life plenty easier! Thanks mate :-) Posted at Nginx Forum:

urgent need help ,ssl error ;

2014-09-05 Thread vk1dadhich
Hi Team, I am facing a issue regarding the ssl in nginx , find below the error logs : 2014/09/05 19:23:36 [emerg] 18774#0: SSL_CTX_use_PrivateKey_file(/etc/nginx/ssl/server.crt) failed (SSL: error:0906D06C:PEM routines:PEM_read_bio:no start line error:140B0009:SSL

Re: urgent need help ,ssl error ;

2014-09-05 Thread vk1dadhich
One most imporatant thing, we site working with https from 2 months but after configuer the sftp with openssl , it created the problem. i did the old settings of sshd_config, as it is as its worked, but still facing the issue. Posted at Nginx Forum:

Re: urgent need help ,ssl error ;

2014-09-05 Thread Miguel Clara
Seems like /etc/nginx/ssl/server.crt content is not correct (no start line error), maybe a bad copy paste? Melhores Cumprimentos // Best Regards --- *Miguel Clara* *IT - Sys Admin Developer* *E-mail:*miguelmcl...@gmail.com

Re: nginx mail proxy - dovecot ssl backend

2014-09-05 Thread useopenid
Thanks! I setup stunnel in the interim, but this will be more efficient. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,219069,253106#msg-253106 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx