Re: [PATCH] Configure: call make distclean for zlib only if Makefile exists

2014-04-24 Thread Piotr Sikora
Hey, Configure: call make distclean for zlib only if Makefile exists. This change allows to build nginx against git checkout of zlib. Actually, it looks that only our amd64-optimized version [1] doesn't ship with Makefile, the original repository [2] has a minimal one with distclean target,

[nginx] nginx-1.6.0-RELEASE

2014-04-24 Thread Maxim Dounin
details: http://hg.nginx.org/nginx/rev/daa5384fd526 branches: stable-1.6 changeset: 5671:daa5384fd526 user: Maxim Dounin mdou...@mdounin.ru date: Thu Apr 24 16:52:24 2014 +0400 description: nginx-1.6.0-RELEASE diffstat: docs/xml/nginx/changes.xml | 14 ++ 1 files

[nginx] release-1.6.0 tag

2014-04-24 Thread Maxim Dounin
details: http://hg.nginx.org/nginx/rev/622887a470d3 branches: stable-1.6 changeset: 5672:622887a470d3 user: Maxim Dounin mdou...@mdounin.ru date: Thu Apr 24 16:52:24 2014 +0400 description: release-1.6.0 tag diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)

[nginx] release-1.7.0 tag

2014-04-24 Thread Maxim Dounin
details: http://hg.nginx.org/nginx/rev/1b0c55d38d0b branches: changeset: 5674:1b0c55d38d0b user: Maxim Dounin mdou...@mdounin.ru date: Thu Apr 24 16:54:23 2014 +0400 description: release-1.7.0 tag diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8

[nginx] Version bump.

2014-04-24 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/1710bf72243e branches: changeset: 5675:1710bf72243e user: Valentin Bartenev vb...@nginx.com date: Thu Apr 24 20:50:10 2014 +0400 description: Version bump. diffstat: src/core/nginx.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)

[PATCH 1 of 2] HTTP: Add client source port to any error that is logged

2014-04-24 Thread Quanah Gibson-Mount
# HG changeset patch # User Quanah Gibson-Mount qua...@zimbra.com # Date 1398357557 18000 # Node ID 4b7d2e503c06758330aabcc21ffbbab77f09568e # Parent 1b0c55d38d0b7ba69dcad79760a3fadc30696a9d HTTP: Add client source port to any error that is logged For TRAC ticket 531 diff -r 1b0c55d38d0b -r

[PATCH 0 of 2] TRAC 531 - Add source port logging for HTTP(S) error logging and all proxied email client connections

2014-04-24 Thread Quanah Gibson-Mount
The following patches ensure that the source port is logged for all client connections. This is to resolve TRAC issue 531. Belgium is mandating that the source port be logged for all client connections for Carrier Grade NAT. This may soon extend to the entire European Union.

Re: [PATCH 1 of 2] HTTP: Add client source port to any error that is logged

2014-04-24 Thread Maxim Dounin
Hello! On Thu, Apr 24, 2014 at 12:19:46PM -0500, Quanah Gibson-Mount wrote: # HG changeset patch # User Quanah Gibson-Mount qua...@zimbra.com # Date 1398357557 18000 # Node ID 4b7d2e503c06758330aabcc21ffbbab77f09568e # Parent 1b0c55d38d0b7ba69dcad79760a3fadc30696a9d HTTP: Add client

Re: [PATCH 1 of 2] HTTP: Add client source port to any error that is logged

2014-04-24 Thread Quanah Gibson-Mount
--On April 24, 2014 at 9:37:54 PM +0400 Maxim Dounin mdou...@mdounin.ru wrote: I tend to say No, thanks. If needed due to local regulations, $remote_port can be added to log_format. $remote_port in the log format section only covers errors logged to the access log, it does not cover

Re: [PATCH 1 of 2] HTTP: Add client source port to any error that is logged

2014-04-24 Thread Quanah Gibson-Mount
--On April 24, 2014 at 10:41:43 AM -0700 Quanah Gibson-Mount qua...@zimbra.com wrote: --On April 24, 2014 at 9:37:54 PM +0400 Maxim Dounin mdou...@mdounin.ru wrote: I tend to say No, thanks. If needed due to local regulations, $remote_port can be added to log_format. $remote_port in

Re: [PATCH 2 of 2] MAIL: Always log the source port of the client

2014-04-24 Thread Maxim Dounin
Hello! On Thu, Apr 24, 2014 at 12:19:47PM -0500, Quanah Gibson-Mount wrote: # HG changeset patch # User Quanah Gibson-Mount qua...@zimbra.com # Date 1398359069 18000 # Node ID 3c908c40acd15c8df020f95309b98d45f2b5e5de # Parent 4b7d2e503c06758330aabcc21ffbbab77f09568e MAIL: Always log the

Re: [PATCH 1 of 2] HTTP: Add client source port to any error that is logged

2014-04-24 Thread Maxim Dounin
Hello! On Thu, Apr 24, 2014 at 10:41:43AM -0700, Quanah Gibson-Mount wrote: --On April 24, 2014 at 9:37:54 PM +0400 Maxim Dounin mdou...@mdounin.ru wrote: I tend to say No, thanks. If needed due to local regulations, $remote_port can be added to log_format. $remote_port in the log

Re: [PATCH 1 of 2] HTTP: Add client source port to any error that is logged

2014-04-24 Thread Quanah Gibson-Mount
--On April 24, 2014 at 9:56:48 PM +0400 Maxim Dounin mdou...@mdounin.ru wrote: $remote_port in the log format section only covers errors logged to the access log, it does not cover errors in the error log. The submitted patch handles the error log. I understand the difference, thank you.

Re: [PATCH 1 of 2] HTTP: Add client source port to any error that is logged

2014-04-24 Thread Maxim Dounin
Hello! On Thu, Apr 24, 2014 at 11:06:29AM -0700, Quanah Gibson-Mount wrote: --On April 24, 2014 at 9:56:48 PM +0400 Maxim Dounin mdou...@mdounin.ru wrote: $remote_port in the log format section only covers errors logged to the access log, it does not cover errors in the error log. The

Re: [PATCH 1 of 2] HTTP: Add client source port to any error that is logged

2014-04-24 Thread Quanah Gibson-Mount
--On April 24, 2014 at 10:26:07 PM +0400 Maxim Dounin mdou...@mdounin.ru wrote: Yes, that is true, but why only implement a partial solution? With CGN, only logging the IP is fairly useless in all cases. To truly get useful information going forward, the IP + PORT of the client should

Re: [PATCH 2 of 2] MAIL: Always log the source port of the client

2014-04-24 Thread Quanah Gibson-Mount
--On April 24, 2014 at 9:47:39 PM +0400 Maxim Dounin mdou...@mdounin.ru wrote: Hello! Much like http-related counterpart, this looks like a hack for me. We may consider adding port to the client connected messages (not sure), but I don't think we have to do anything beyond that. For our

Re: [nginx] Adding Support for Weak ETags

2014-04-24 Thread Aaron Peschel
Hi Maxim, Is the draft patch the same as the one that your posted in the previous thread, or has more work been done since then? -Aaron Peschel On Mon, Apr 21, 2014 at 5:26 AM, Maxim Dounin mdou...@mdounin.ru wrote: Hello! On Thu, Apr 17, 2014 at 05:39:40PM -0700, Aaron Peschel wrote:

Re: [PATCH] Configure: call make distclean for zlib only if Makefile exists

2014-04-24 Thread Ryan Brown
Slightly off-topic, does cloudflare have a nginx fork publicly available? I only saw lua-nginx-cache-module On Thu, Apr 24, 2014 at 10:16 PM, Piotr Sikora pi...@cloudflare.com wrote: Hey, Configure: call make distclean for zlib only if Makefile exists. This change allows to build nginx

Re: [PATCH] Configure: call make distclean for zlib only if Makefile exists

2014-04-24 Thread Yichun Zhang (agentzh)
Hello! On Thu, Apr 24, 2014 at 7:47 PM, Ryan Brown wrote: Slightly off-topic, does cloudflare have a nginx fork publicly available? No. Actually we've been trying hard not to diverge from the official nginx core too far. That's why we've been working hard on the openresty bundle project:

Re: Хитрый учет скачиваемых по прямым ссылкам файлов (nginx + piwik)

2014-04-24 Thread iprok
Илья Шипицин Wrote: --- можно через Lua снимать статистику (модуль сторонний, использовать его или нет, решайте сами) Не совсем понял зачем мне lua, если я уже без него обошелся. В чем преимущество перед моей конфигурацией? Где учет

Re: Хитрый учет скачиваемых по прямым ссылкам файлов (nginx + piwik)

2014-04-24 Thread Илья Шипицин
вы уж как-нибудь определитесь, либо заранее спасибо всем откликнувшимся, либо не совсем понял, зачем мне Lua 24 апреля 2014 г., 13:09 пользователь iprok nginx-fo...@nginx.us написал: Илья Шипицин Wrote: --- можно через Lua снимать статистику

Re: не держит сессию

2014-04-24 Thread horsement
поставил последний апач который есть на данный момент в сети официальный mod_realip/mod_rpaf и тптд апач уже не съедает зато есть встроенный модуль mod_remoteip он настроен , но с ним такая же ерунда в nginxe пробывал proxy_set_header X-Forwarded-For $remote_addr; и proxy_set_header

Re: nginx-1.6.0

2014-04-24 Thread Aleksandr Sytar
2014-04-24 17:14 GMT+04:00 Maxim Dounin mdou...@mdounin.ru: Изменения в nginx 1.6.0 24.04.2014 *) Стабильная ветка 1.6.x. Стесняюсь спросить - релиз под новый LTS ожидается? ___ nginx-ru mailing list

Re: nginx и снова icecast2 = в чем разница?

2014-04-24 Thread Maxim Dounin
Hello! On Thu, Apr 24, 2014 at 09:20:45AM -0400, den68 wrote: Собственно определенный вид мобильных клиентов онлайн радио, при прямом коннекте на icecast2 прекрасно работают, а через nginx - нет. приводить длинные конфиги не буду, но: location: default_type audio/mpeg;

Re: nginx-1.6.0

2014-04-24 Thread Maxim Dounin
Hello! On Thu, Apr 24, 2014 at 05:38:37PM +0400, Aleksandr Sytar wrote: 2014-04-24 17:14 GMT+04:00 Maxim Dounin mdou...@mdounin.ru: Изменения в nginx 1.6.0 24.04.2014 *) Стабильная ветка 1.6.x. Стесняюсь спросить - релиз под новый LTS

Re: nginx и снова icecast2 = в чем разница?

2014-04-24 Thread den68
Спасибо за ответ, сейчас попробуем Posted at Nginx Forum: http://forum.nginx.org/read.php?21,249540,249544#msg-249544 ___ nginx-ru mailing list nginx-ru@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-ru

Re: не видит директорию

2014-04-24 Thread Maxim Dounin
Hello! On Thu, Apr 24, 2014 at 10:59:13AM -0400, horsement wrote: c таким конфигом не видит веб-файлы в директорий с:\appserv\htdosc Что такое веб-файлы и в чём выражется не видит? -- Maxim Dounin http://nginx.org/ ___ nginx-ru mailing list

Re: не видит директорию

2014-04-24 Thread horsement
ну вышеже указана директория location / { root C:/APPServ/htdocs; index index.php; } темболее если раскоментировать location ~ \.php$ { fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME C:/APPServ/htdocs$fastcgi_script_name; он тоже показывает 404 Posted at Nginx Forum:

Re: не видит директорию

2014-04-24 Thread horsement
а простите дурака , спасибо за совет , он помог а есть какая нибудь оптимизация к nginxе в связке с php-cg чтобы при нагрузки на сервер php-cgi.exe не крешил ? Posted at Nginx Forum: http://forum.nginx.org/read.php?21,249546,249556#msg-249556 ___

Re: не видит директорию

2014-04-24 Thread horsement
а какой именно юниксовая ос подойдет под веб и бд-mysql Posted at Nginx Forum: http://forum.nginx.org/read.php?21,249546,249567#msg-249567 ___ nginx-ru mailing list nginx-ru@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-ru

Re: не видит директорию

2014-04-24 Thread Daniel Podolsky
а какой именно юниксовая ос подойдет под веб и бд-mysql выбирайте ubuntu 14.04 server - такая же попса, как винда. ___ nginx-ru mailing list nginx-ru@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-ru

Re: не видит директорию

2014-04-24 Thread Lystopad Aleksandr
Hello, horsement! On Thu, Apr 24, 2014 at 02:00:36PM -0400 nginx-fo...@nginx.us wrote about Re: не видит директорию: а какой именно юниксовая ос подойдет под веб и бд-mysql Лучше всего подходит тот, которому сможете обепечить должное обслуживание. -- Lystopad Aleksandr

Re: nginx-1.7.0

2014-04-24 Thread Vadim A. Misbakh-Soloviov
В письме от Чт, 24 апреля 2014 17:15:39 пользователь Maxim Dounin написал: Изменения в nginx 1.7.0 24.04.2014 *) Добавление: проверка SSL-сертификатов бэкендов. Отключаемая, надеюсь? *) Добавление: поддержка SNI при работе с бэкендами по

Re: nginx-1.7.0

2014-04-24 Thread Homutov Vladimir
On Fri, Apr 25, 2014 at 09:33:55AM +0700, Vadim A. Misbakh-Soloviov wrote: В письме от Чт, 24 апреля 2014 17:15:39 пользователь Maxim Dounin написал: Изменения в nginx 1.7.0 24.04.2014 *) Добавление: проверка SSL-сертификатов бэкендов.

Pass filename and type to backend server

2014-04-24 Thread Anselm Meyn
Hi, I am trying to upload a file to an nginx server and then have it passed on to the backend server after upload completes. I am able to set it up as described here (https://coderwall.com/p/swgfvw) and see that the file is being uploaded. However I am not able to get the file name and type to my

Re: map module - mass hosting

2014-04-24 Thread beatnut
Thank You for explanation and advise. Maxim Dounin Wrote: --- Hello! On Wed, Apr 23, 2014 at 09:27:33AM -0400, beatnut wrote: [...] Searching within a map is basically identical to searching for appropriate server{} block, both

Re: help sendmsg() failed in error log

2014-04-24 Thread Valentin V. Bartenev
On Thursday 24 April 2014 11:04:05 yanghq wrote: hello when test my reverse proxy server, I found sendmsg() failed (9: Bad file descriptor) while reading response header from upstream in error.log. Is there any clue about it? Since nginx doesn't use sendmsg() for upstream

Re: Old topic ssl private key with passphrase

2014-04-24 Thread Maxim Dounin
Hello! On Wed, Apr 23, 2014 at 08:32:57PM +0200, Aleksandar Lazic wrote: Hi. Am 23-04-2014 18:19, schrieb Maxim Dounin: Hello! On Wed, Apr 23, 2014 at 05:34:10PM +0200, Aleksandar Lazic wrote: Dear nginx developers. What is necessary that you take hands on the topic 'private key

Re: Old topic ssl private key with passphrase

2014-04-24 Thread Aleksandar Lazic
Hi. Am 24-04-2014 10:54, schrieb Maxim Dounin: Hello! On Wed, Apr 23, 2014 at 08:32:57PM +0200, Aleksandar Lazic wrote: Hi. Am 23-04-2014 18:19, schrieb Maxim Dounin: [snipp] I also agree that this is a very hard task. So the question is: why do you need it? If you want to get a

nginx-1.6.0

2014-04-24 Thread Maxim Dounin
Changes with nginx 1.6.0 24 Apr 2014 *) 1.6.x stable branch. -- Maxim Dounin http://nginx.org/en/donation.html ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

nginx-1.7.0

2014-04-24 Thread Maxim Dounin
Changes with nginx 1.7.0 24 Apr 2014 *) Feature: backend SSL certificate verification. *) Feature: support for SNI while working with SSL backends. *) Feature: the $ssl_server_name variable. *) Feature: the if parameter of the access_log

Disable Reverse Proxy for Failover

2014-04-24 Thread Hect, Jason
I turned on all the logging error_log logs/error.log; error_log logs/error.log notice; error_log logs/error.log info; Nothing shows up when I try this. I just get a 502 Bad Gateway response in my browser. Thanks, Jason

Re: [nginx-announce] nginx-1.6.0

2014-04-24 Thread Kevin Worthington
Hello Nginx users, Now available: Nginx 1.6.0 for Windows http://goo.gl/aWPxCn (32-bit and 64-bit versions) These versions are to support legacy users who are already using Cygwin based builds of Nginx. Officially supported native Windows binaries are at nginx.org. Announcements are also

Re: [nginx-announce] nginx-1.7.0

2014-04-24 Thread Kevin Worthington
Hello Nginx users, Now available: Nginx 1.7.0 for Windows http://goo.gl/rYXbPx (32-bit and 64-bit versions) These versions are to support legacy users who are already using Cygwin based builds of Nginx. Officially supported native Windows binaries are at nginx.org. Announcements are also

Local and Remote User Authentication

2014-04-24 Thread Hari Miriyala
Hi All, We have nginx1.4.7 with ngx_http_auth_request_module and ngx_http_auth_basic_module besides few other modules. There are few other modules also, but have mentioned above two modules only due to relevance to this discussion. Our application requires to have local user (meaning - store

rate limit by method

2014-04-24 Thread Jeroen Ooms
Is there any way I can impose a rate limit on a location or back-end by HTTP method? Specifically I would like to limit the number of POST requests that a single client IP can perform within a given timespan. ___ nginx mailing list nginx@nginx.org

Re: rate limit by method

2014-04-24 Thread Maxim Dounin
Hello! On Thu, Apr 24, 2014 at 11:07:26AM -0700, Jeroen Ooms wrote: Is there any way I can impose a rate limit on a location or back-end by HTTP method? Specifically I would like to limit the number of POST requests that a single client IP can perform within a given timespan. I believe more

[ANN] Windows nginx 1.7.1.1 Snowman

2014-04-24 Thread itpp2012
21:28 24-4-2014 nginx 1.7.1.1 Snowman Based on nginx 1.7.1 (24-4-2014) with; + lua-upstream-nginx-module v0.1 (upgraded 24-4-2014) + Streaming with nginx-rtmp-module, v1.1.4 (upgraded 24-4-2014) + New development tree nginx export 1.7 + Naxsi WAF v0.53-1 (upgraded 17-4-2014) + Source changes back

Nginx Websocket proxy dropping frames

2014-04-24 Thread FlappySocks
Connecting to my websocket server directly works (Chrome or Firefox). Connecting via the Nginx websocket proxy connects, but drops frames. Here is an example of the JSON messages: -- {login : { username: user, password : pass}} -- {loginReply : { state: ok}} -- {someSetting1 : { something:

Re: Nginx Websocket proxy dropping frames

2014-04-24 Thread B.R.
Logs? --- *B. R.* ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Nginx 1.7.0 failed make with Phusion Passenger ?

2014-04-24 Thread George
Anyone experience this problem ? I have Nginx 1.5.13 working fine with Phusion Passenger 4.0.37 source compile. But trying to update Nginx from 1.5.13 to 1.7.0 fails at make stage. I tried both Phusion Passenger 4.0.37 and 4.0.41 and it fails. Working Nginx 1.5.13 configuration nginx -V nginx

Re: Nginx 1.7.0 failed make with Phusion Passenger ?

2014-04-24 Thread George
grep -C10 zero_in_uri /usr/local/rvm/gems/ruby-2.1.1/gems/passenger-4.0.41/ext/nginx/StaticContentHandler.c if (!(r-method (NGX_HTTP_GET|NGX_HTTP_HEAD|NGX_HTTP_POST))) { return NGX_HTTP_NOT_ALLOWED; } if (r-uri.data[r-uri.len - 1] == '/') { return NGX_DECLINED; }