On 20 Jan 2015, at 14:28, Gena Makhomed <gmm@csdoc.com> wrote: > On 19.01.2015 14:42, Валентин Бартенев wrote: > >>>> Вопрос мой ведь в другом, можно ли обойтись иными способами? >>> >>> теоретически - да, если научить nginx смотреть на имя сеby Igor Sysoev - Nginx Mailing List - Russian
On 25 Nov 2014, at 14:25, Алексей Сундуков <public-mail@alekciy.ru> wrote: > Т.е. согласно директиве fastcgi_connect_timeout nginx для сокета выставляет заданный в конфиге таймаут, но эта величина будет игнорироваться если она превышает заданную для ядby Igor Sysoev - Nginx Mailing List - Russian
On 25 Nov 2014, at 11:48, Алексей Сундуков <public-mail@alekciy.ru> wrote: > Всем привет! > > Когда-то давно я помню, что было обсуждение этих директив и было упоминание, что http://nginx.org/ru/docs/http/ngx_http_fastcgi_module.html#fastcgi_connect_timeout поднять выше 75 секуby Igor Sysoev - Nginx Mailing List - Russian
On 24 Nov 2014, at 13:11, cilrill <nginx-forum@nginx.us> wrote: > Добрый день. > > Нужно все запросы картинок jpg|jpeg|gif|png в uri которых присутствует > /pics/ проксировать на отдельный сервер. > Ссылки вида example.com/pics/goods/big/komplekt_4-2.jpg > > Пока сделby Igor Sysoev - Nginx Mailing List - Russian
On 23 Nov 2014, at 03:12, Anton Kiryushkin <swood@fotofor.biz> wrote: > Здравствуйте. > > Какая-то ерунда наблюдается. Вот есть у меня хост, у которого есть поддомены. И каждый поддомен должен идти на свой бэкенд. Но так же, у этого хоста есть иby Igor Sysoev - Nginx Mailing List - Russian
On 24 Nov 2014, at 11:23, dwow <nginx-forum@nginx.us> wrote: > Потому что часть пользователей целенаправленно направляется через HTTP, а > часть через HTTPS. А что мешает сделать server { listen 6666 ssl; listen 6667; ... } ? -- Igor Sysoev http://nginx.com ____________________by Igor Sysoev - Nginx Mailing List - Russian
On 23 Nov 2014, at 23:51, keeyong <nginx-forum@nginx.us> wrote: > I can't really test this easily so I am asking instead. I have this location > statement in my nginx.conf: > > location ~* ^/(api/abcd)/ { > ... > } > > Now I want to match against "api/efgh". Then the regex should be something > like this? > > locaby Igor Sysoev - Nginx Mailing List - English
On 21 Nov 2014, at 23:52, dwow <nginx-forum@nginx.us> wrote: > например, на разных портах настроены тестовые сервера. Я имел в виду, зачем серверу на одном порту работать по обоим протоколам - HTTP и HTTPS? -- Igor Sysoev http://nginx.com ________________________________________by Igor Sysoev - Nginx Mailing List - Russian
On 21 Nov 2014, at 15:22, dwow <nginx-forum@nginx.us> wrote: > Добрый день, > есть ли возможность сделать единный HTTP/HTTPS сервер на отличном порту? > Например, чтобы example.com:6666 работал и по HTTP и по HTTPS? А в чём смысл такого сервера? -- Igor Sysoev http://nby Igor Sysoev - Nginx Mailing List - Russian
On 10 Nov 2014, at 03:54, Toshikuni Fukaya <toshikuni-fukaya@cybozu.co.jp> wrote: > (2014/11/08 0:59), Igor Sysoev wrote: >> On 04 Nov 2014, at 14:18, Toshikuni Fukaya <toshikuni-fukaya@cybozu.co.jp> wrote: >> >>> Upstream: support named location for X-Accel-Redirect. >> >> Could please you provide usage examples? >> >> > > Heby Igor Sysoev - Nginx Development
On 04 Nov 2014, at 14:18, Toshikuni Fukaya <toshikuni-fukaya@cybozu.co.jp> wrote: > Upstream: support named location for X-Accel-Redirect. Could please you provide usage examples? -- Igor Sysoev http://nginx.com _______________________________________________ nginx-devel mailing list nginx-devel@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-develby Igor Sysoev - Nginx Development
On 03 Nov 2014, at 17:18, B.R. <reallfqq-nginx@yahoo.fr> wrote: > Using named captures works (as demonstrated by https://stackoverflow.com/questions/12459518/nginx-extract-a-value-from-a-variable-or-any-string), though: > map $host $foo { > "~*^www\.(?<domain>.*)$" $domain; # Named capture wins > default $foo; > } default $host;by Igor Sysoev - Nginx Mailing List - English
On 23 Oct 2014, at 21:17, itpp2012 <nginx-forum@nginx.us> wrote: > Can I use multiple maps with a single map ? > > For example; > > map $ngxvar1 $myvar1 { > default 0; > ~*string 1; > } > map $ngxvar2 $myvar2 { > default 0; > ~*string 1; > } > map $ngxvar3 $myvar3 { > default 0; > ~*string 1; > $myvar1 1; > $myvar2 1; > } > > Thby Igor Sysoev - Nginx Mailing List - English
On 03 Oct 2014, at 01:31, jmobile <nginx-forum@nginx.us> wrote: > Thanks Igor for pointing this out. > > If file is renamed, would it guarantee that nginx continues writing to it > without interruption? This is guaranteed by OS. -- Igor Sysoev Join us for nginx.conf 2014, October 20-22, San Francisco. Get 25% off with code NGINXUG: http://nginx.com/nginxconf/ _____________by Igor Sysoev - Nginx Mailing List - English
On 02 Oct 2014, at 15:06, Anton Kiryushkin <swood@fotofor.biz> wrote: > А можно у вас уточнить еще два момента. > 1. Зачем nginx вызывает эти функции libc, например, если в нашем случае мы не используем в proxy_pass домены, а только IP. Верно ли предположение,by Igor Sysoev - Nginx Mailing List - Russian
On 02 Oct 2014, at 11:08, oscaretu . <oscaretu@gmail.com> wrote: > I think you should remove the line: > > sleep 15 > > It doesnt' anything useful, It just delay the restart, so during 15 seconds the request will end been registered in the old log file Of course this sleep is not required, it is just to see that nothing is lost during the sleep. -- Igor Sysoev Join usby Igor Sysoev - Nginx Mailing List - English
On 02 Oct 2014, at 04:28, Anton Kiryushkin <swood@fotofor.biz> wrote: > Мы тут заметили, что при старте nginx, он довольно часто перечитывает /etc/hosts и /etc/resolv.conf. Можно ли как-то узнать зачем.. Причем ладно бы один раз, а то ведь раз 5, по ощущениям. Это деby Igor Sysoev - Nginx Mailing List - Russian
On 02 Oct 2014, at 01:30, jmobile <nginx-forum@nginx.us> wrote: > Hi, > > I'd like to check how nginx handles command from > http://wiki.nginx.org/LogRotation > kill -USR1 `cat /var/run/nginx.pid` > > I'm using it to recreate log files during rotation. > > My question if any loglines can be lost in case time interval between > physical log files rotation andby Igor Sysoev - Nginx Mailing List - English
On 05 Aug 2014, at 21:10, Quanah Gibson-Mount <quanah@zimbra.com> wrote: > --On Tuesday, August 05, 2014 12:58 PM +0400 Maxim Dounin <mdounin@mdounin.ru> wrote: > >> Hello! >> >> On Tue, Aug 05, 2014 at 02:26:59AM -0500, Kunal Pariani wrote: >> >>> # HG changeset patch >>> # User Kunal Pariani <kpariani@zimbra.com> >>>by Igor Sysoev - Nginx Development
On 15 Jul 2014, at 12:18, Budulianin <nginx-forum@nginx.us> wrote: > Всем привет. > > Хочу задать заголовки. Но в доке не вижу uwsgi_set_header. > Как для uwsgi задать заголовки? http://nginx.org/en/docs/http/ngx_http_uwsgi_module.html#uwsgi_param -- Igor Sysoev http://nginx.com ________________________________by Igor Sysoev - Nginx Mailing List - Russian
On 17 Jun 2014, at 20:03, Maxim Dounin <mdounin@mdounin.ru> wrote: >>> В своё время, однако, nginx'у потребовалось от этой практики отказаться: >>> >>> http://hg.nginx.org/nginx/rev/b9de93d804ea >>> >>> Если мне не изменяет память, причина была всёby Igor Sysoev - Nginx Mailing List - Russian
On 28 May 2014, at 19:39, B.R. <reallfqq-nginx@yahoo.fr> wrote: > I think Igor is suggesting PERL named captures. > > Although, it appears to me the correct syntax would rather be (?<name>...), as perlre docs state. > Then, just use you first syntax (omitting the 'set' directives). You a re right, I have mistaken. -- Igor Sysoev http://nginx.com __________________by Igor Sysoev - Nginx Mailing List - English
On 28 May 2014, at 08:55, Peter Mescalchin <peter.mescalchin@gmail.com> wrote: > Thanks Igor, > > I had explored that method already, sadly (as you know) "alias" is given as an absolute path meaning I can't use this block of config within multiple virtual hosts which I include; - would have to re-write this same block of config for each Virtual host modifying the aliaby Igor Sysoev - Nginx Mailing List - English
On 28 May 2014, at 03:52, Peter Mescalchin <peter.mescalchin@gmail.com> wrote: > Hello Nginx developers, > > speaking to Maxim Konovalov over Twitter, suggested this would be the better place to get an answer to my suggestion. > > Basically what I would like to see is the ability to use a rewrite directive without the need to capture the current URI, which in turn overwrby Igor Sysoev - Nginx Mailing List - English
On 15 May 2014, at 04:01, SAH62 <nginx-forum@nginx.us> wrote: > Sorry for posting this twice. I posted it in the "How to" forum last week, > there haven't been any replies, so I thought I'd try again. > > I'm using nginx for multiple virtual hosts on the same physical server. The > issue I'm having is that a browser request for https://www.domain1.org/ is > beinby Igor Sysoev - Nginx Mailing List - English
On May 6, 2014, at 2:38 , dcaillibaud wrote: > Hi, > > I understood that prefix location was read, then regex location and it stops > on a ^~ match > > Why with this config > > location / { > location ~ .+\.(js|css|ico|png|gif|jpg|jpeg|pdf|zip|html|htm)$ { > expires 25h; > } > } > > location ^~ /banniere_by Igor Sysoev - Nginx Mailing List - English
On Apr 21, 2014, at 15:47 , Igor Sysoev wrote: > On Apr 21, 2014, at 15:03 , etienne.champetier@free.fr wrote: > >> Hi, >> >> There is ngx_http_realip_module to have the real ip in nginx when you are behind a load balancer >> If the load balancer is also terminating the ssl, and connecting to nginx with http, how to set the real proto ? > > proxy_set_headerby Igor Sysoev - Nginx Mailing List - English
On Apr 21, 2014, at 15:03 , etienne.champetier@free.fr wrote: > Hi, > > There is ngx_http_realip_module to have the real ip in nginx when you are behind a load balancer > If the load balancer is also terminating the ssl, and connecting to nginx with http, how to set the real proto ? proxy_set_header X-Real-Proto $scheme; http://nginx.org/r/$scheme -- Igor Sysoev http://nginx.coby Igor Sysoev - Nginx Mailing List - English
On Apr 21, 2014, at 12:46 , Igor Sysoev wrote: > On Apr 20, 2014, at 21:17 , Lukas Tribus wrote: > >>> Hi >>> >>> I was watching this video by fastly ceo http://youtu.be/zrSvoQz1GOs?t=24m44s >>> he talks about the nginx ssl handshake versus apache and comes to the >>> conclusion that apache was more efficient at mass handshakes due to >>&by Igor Sysoev - Nginx Mailing List - English
On Apr 20, 2014, at 21:17 , Lukas Tribus wrote: >> Hi >> >> I was watching this video by fastly ceo http://youtu.be/zrSvoQz1GOs?t=24m44s >> he talks about the nginx ssl handshake versus apache and comes to the >> conclusion that apache was more efficient at mass handshakes due to >> nginx blocking while it calls back to openssl >> >> I was hopingby Igor Sysoev - Nginx Mailing List - English