Re: Sharing data when download the same object from upstream

2013-09-02 Thread Anatoli Marinov
The patch in not in the milling list. We just spoke about the same problem before in the list with other developers. Unfortunately I cannot share the patch because it has been made for commercial project. However I am going to ask for permition to share it. On Fri, Aug 30, 2013 at 12:04 PM,

Re: [PATCH] Proxy remote server SSL certificate verification

2013-09-02 Thread Maxim Dounin
Hello! On Sun, Sep 01, 2013 at 11:19:06AM +0300, Aviram Cohen wrote: Hello! On Wed, Aug 28, 2013 at 3:41 AM, Maxim Dounin mdou...@mdounin.ru wrote: Hello! [...] if (conf-upstream.ssl ngx_ssl_trusted_certificate(cf, conf-upstream.ssl,

Re: Help with shared memory usage

2013-09-02 Thread Wandenberg Peixoto
Hi Maxim, did you have opportunity to take a look on this patch? Regards, Wandenberg On Wed, Jul 31, 2013 at 12:28 AM, Wandenberg Peixoto wandenb...@gmail.comwrote: Hello! Thanks for your help. I hope that the patch be OK now. I don't know if the function and variable names are on nginx

Re: [PATCH] SO_REUSEPORT support for listen sockets (round 3)

2013-09-02 Thread Maxim Dounin
Hello! (Sorry again for late reply. See below for comments.) On Fri, Aug 02, 2013 at 01:16:53PM +0800, Sepherosa Ziehau wrote: Here is another round of SO_REUSEPORT support. The plot is changed a little bit to allow smooth configure reloading and binary upgrading. Here is what happens when

Re: Help with shared memory usage

2013-09-02 Thread Maxim Dounin
Hello! On Mon, Sep 02, 2013 at 11:24:33AM -0300, Wandenberg Peixoto wrote: did you have opportunity to take a look on this patch? Not yet, sorry. It's in my TODO and I'll try to look at it this week. Overall it seems good enough, but it certainly needs style/cosmetic cleanup before it can

[nginx] Disable symlinks: removed recursive call of ngx_file_o_p...

2013-09-02 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/659464c695b7 branches: changeset: 5357:659464c695b7 user: Valentin Bartenev vb...@nginx.com date: Mon Sep 02 20:06:03 2013 +0400 description: Disable symlinks: removed recursive call of ngx_file_o_path_info(). It is surplus. diffstat:

udp support

2013-09-02 Thread Vadim A. Misbakh-Soloviov
Всем привет! :) Я тут немного поковырялся в /etc/services и в /usr/share/nmap/nmap-services и обнаружил, что есть такая штука, как 8008/tcp http-alt 8008/udp http-alt В связи с этим стало интересно: в NgX нет (?) поддержки UDP по каким-то причинам, или просто потому что не было нужды? :)

Re: Неправильные (огромные) значения $request time для FastCGI-запросов

2013-09-02 Thread Alex Domoradov
Я даже и не знаю, что вам сказать русская халява - она такая 2013/9/2 Maxim Dounin mdou...@mdounin.ru: Hello! On Sat, Aug 31, 2013 at 04:50:28PM -0400, sofiamay wrote: А что, за год баг так и не исправили? Разрабы даже не удосужились здесь отписаться? Баг хотябы в багтрекере висит?

Re: nginx-ru Digest, Vol 47, Issue 4

2013-09-02 Thread Андрей Середенко
В таком случае, если отрабатывает только последний из if'ов - то в данной конфигурации: location ~* /test/url/Page.asmx { proxy_pass http://test_upstream; proxy_redirect off; proxy_set_header Host $host; proxy_set_header

502 уступили место 504

2013-09-02 Thread DenisM
Привет. После включения кеша fastcgi ошибки 502 сменились на 504. Это ожидаемое поведение? fastcgi_cache_path /var/cache/nginx levels=2 keys_zone=NAME:50m max_size=1024m inactive=5m; fastcgi_temp_path /var/cache/nginx/fastcgi_temp; fastcgi_cache_key

Re: nginx-ru Digest, Vol 47, Issue 4

2013-09-02 Thread Alexander Moskalenko
В данной конфигурации нужно выкинуть все if и сделать map + if. Либо использовать allow+deny, как это обычно делают. 2013/9/2 Андрей Середенко andrei.serede...@gmail.com: В таком случае, если отрабатывает только последний из if'ов - то в данной конфигурации: location ~* /test/url/Page.asmx {

Re: nginx-ru Digest, Vol 47, Issue 4

2013-09-02 Thread Maxim Dounin
Hello! On Mon, Sep 02, 2013 at 11:38:22AM +0300, Андрей Середенко wrote: В таком случае, если отрабатывает только последний из if'ов - то в данной конфигурации: location ~* /test/url/Page.asmx { [...] set $my_ipsrc 0; # allow 10.10.1.75/32; if

Re: true 414 status code

2013-09-02 Thread Gena Makhomed
On 02.09.2013 7:00, Валентин Бартенев wrote: JFYI, http://hg.nginx.org/nginx/rev/62be77b0608f спасибо, теперь nginx стал еще лучше и удобнее. -- Best regards, Gena ___ nginx-ru mailing list nginx-ru@nginx.org

Re: true 414 status code

2013-09-02 Thread Vladimir Getmanshchuk
Здорово! Но не повлияет ли это на производительность? Спасибо! 2013/9/2 Gena Makhomed g...@csdoc.com On 02.09.2013 7:00, Валентин Бартенев wrote: JFYI, http://hg.nginx.org/nginx/rev/**62be77b0608fhttp://hg.nginx.org/nginx/rev/62be77b0608f спасибо, теперь nginx стал еще лучше и

Re: true 414 status code

2013-09-02 Thread Валентин Бартенев
On Monday 02 September 2013 16:58:05 Vladimir Getmanshchuk wrote: Здорово! Но не повлияет ли это на производительность? Спасибо! Не повлияет. -- Валентин Бартенев http://nginx.org/en/donation.html ___ nginx-ru mailing list nginx-ru@nginx.org

Помогите разобраться с проверкой рефера

2013-09-02 Thread GrooPER
Не могу разобраться с проверкой реферера, что нужно: если реферер не с моего сайта отдавать статику без jpg (он будет обрабатываться апачем бля наложения ватермарка) если реферер с сайта то отдавать статику NGINXом включая и jpg мой код в конфиге: location * {

Адаптация правил работающих в mod_rewrite для nginx

2013-09-02 Thread ad...@sysadmins.el.kg
Доброго времени суток. Нужно перенести один виртуалхост с сервера с apache на сервер с nginx. Все бы ничего, да вот правила rewrite там жуткие, даже не представляю как это все запустить под nginx. в httpd.conf: RewriteMap decode prg:/usr/local/etc/apache22/decode.pl decode.pl - перловый

Re: SSL certificate chain

2013-09-02 Thread Daniel Lundqvist
I have, it just says only 1 certificate is provided. Here are the test results: https://www.ssllabs.com/ssltest/analyze.html?d=www.malarhojden.nu -- daniel On 1 sep 2013, at 21:43, Sylvia nginx-fo...@nginx.us wrote: Hi. You can try to run a diagnostics for problem discovery and

mail proxy to 3rd party using ssl

2013-09-02 Thread rmombassa
I am setting up nginx as POP3 mail proxy to two 3rd party mail servers. Different domains, one of them uses SSL. Since I do not have that 3rd party's SSL certificate I use my own company certificate in nginx. That cert is properly signed but obviousy belongs to another domain (our domain). If I