On Apr 4, 2014, at 16:05 , rahul286 wrote: > @Igor > > Few Updates: > >> location = old-url-1 { return 301 new-url-1; } > > is really nice. We can specify 301/302 using it. > > But I am reading - > http://nginx.org/en/docs/http/ngx_http_fastcgi_module.html#fastcgi_cache_valid > and now I am thining weather to populate config file with 1000's of lines > lby Igor Sysoev - Nginx Mailing List - English
On Mar 25, 2014, at 12:12 , rahul286 wrote: > Hi All, > > I am just wondering, say for 1000 url redirects, what will be more > efficient. > > Rewrite Style: > ============ > server { > rewrite old-url-1 new-url-1 permanent; > rewrite old-url-2 new-url-2 permanent; > rewrite old-url-3 new-url-3by Igor Sysoev - Nginx Mailing List - English
On Mar 20, 2014, at 23:28 , Phil Kulin wrote: > 20 марта 2014 г., 23:26 пользователь Igor Sysoev <igor@sysoev.ru> написал: > >>> Есть nginx, хочется делать соединение SSL с ГОСТовскими ключами. В том >>> числе приём клиентских сертификатов. Стоит Openby Igor Sysoev - Nginx Mailing List - Russian
On Mar 20, 2014, at 23:17 , Phil Kulin wrote: > Есть nginx, хочется делать соединение SSL с ГОСТовскими ключами. В том > числе приём клиентских сертификатов. Стоит OpenSSL 1.0.1, конфиг есть, > BIND например всё видит и домены ключами ГОСТ подписаby Igor Sysoev - Nginx Mailing List - Russian
On Mar 20, 2014, at 12:28 , B.R. wrote: > I am using the official Debian package (stable) and I noticed the service file, in its do_stop() function, sends SIGTERM to the master process. > > However, the docs say SIGTERM (and SIGQUIT) sent to the master process provokes a 'fast shutdown' whereas SIGQUIT would provoke a 'graceful shutdown'. > > Why is not SIGQUIT being used? What iby Igor Sysoev - Nginx Mailing List - English
On Mar 17, 2014, at 22:07 , grisha2217 wrote: > Заметил, что сайт подвергается ддос атакам, в логах такие запросы: > //?msg=SuckBith!!!&msg2=ITISDD0S! > //??????-????? > //?=E73994C7=BLAAAAAAAAAAAAA>E3<6=5789 > > > Как сделать универсальный bad_request для таких запрby Igor Sysoev - Nginx Mailing List - Russian
On Mar 15, 2014, at 21:30 , gokhanege wrote: > Where is the problem? I cound not found it. > > My uri is : > > /rdev/4/0/9/2/3/2/409232-750-0-257506-supra-ayakkabi-resimleri.jpg > > Nginx conf is : > > if ($request_uri ~* "/rdev/(.*)-(.*)-(.*)-(.*)\.jpg$") { > set $exp1 $1; > set $exp2 $2; > set $exp3 $3; > set $exp4 $4; > }by Igor Sysoev - Nginx Mailing List - English
On 13 Mar 2014, at 21:59, abstein2 <nginx-forum@nginx.us> wrote: > Is there any negative performance impact with chaining include commands on > nginx? > > For example, are any of these worse than any of the others from a > performance perspective: > > In nginx.conf: > include domain_config_1.conf; > include domain_config_2.conf; > > OR > > In nginxby Igor Sysoev - Nginx Mailing List - English
Performance improvement will be negligible, you will not see it in any benchmark. -- Igor Sysoev http://nginx.com On Mar 13, 2014, at 13:58 , SplitIce wrote: > Thats an interesting figure, certainly worthy of consideration. I am only interested in performance savings, the memory used is negligible as this particular limit takes the brunt of quite a few attacks (insecure Wordpress blogs areby Igor Sysoev - Nginx Development
On Mar 13, 2014, at 12:43 , SplitIce wrote: > I guess our configuration is a but of an edge case pretty much every server serves at-least one /24 (with the intention to raise this to /22 eventually). /22, that is, 1024 server addresses. You will save 32K. -- Igor Sysoev http://nginx.com > Anyway thanks for the answer, I am going to go investigate what would be involved in developing aby Igor Sysoev - Nginx Development
On Mar 13, 2014, at 11:09 , SplitIce wrote: > Has anyone put any thought into the possibility of a $binary_server_addr variable? > > Sometimes its quite useful to limit certain events by server_addr instead of the client address (e.g to limit requests made by certain UA's or other events). You can use $server_addr. The binary form of $remote_addr saves memory since there is a lot of reby Igor Sysoev - Nginx Development
On Mar 6, 2014, at 21:38 , Tommy Berglund wrote: > I have a question, is this the best way to perform this action? > > Only allow https://webmail.exampel.com in the server block ssl > and redirect any host that isn't webmail.example.com to the example.com > > if ($host !~* 'webmail.example.com' ) { > rewrite ^/(.*)$ http://example.com/$1 permanent; > } > &gby Igor Sysoev - Nginx Mailing List - English
On Mar 4, 2014, at 9:07 , loki wrote: > I am seeing my NGINX server randomly hangup. Multiple worker processes > utilizing 100% CPU. I see the hangups in strace, but not quite sure what > would be causing the issue. > > 0.000081 futex(0x7f563c893068, FUTEX_WAIT, 0, NULL) = ? ERESTARTSYS (To be > restarted) > 92.011974 --- SIGHUP (Hangup) @ 0 (0) --- > 0.000069 rt_sby Igor Sysoev - Nginx Mailing List - English
On Mar 1, 2014, at 21:46 , Михаил Монашёв wrote: > Здравствуйте, Igor. > >> Ввиду отсутствия fork()а на Windows, nginx/Windows запускает новые >> процессы. Вот там проблемы, так проблемы. Сигналы - это семечки. > > А есть желание эти проby Igor Sysoev - Nginx Mailing List - Russian
On Feb 27, 2014, at 22:22 , AlexyFrost wrote: > Anton Yuzhaninov Wrote: > ------------------------------------------------------- >> On 02/26/14 03:17, AlexyFrost wrote: >> Мусора в том, что наследуется нет. >> >> listen socket нужен. >> других сокетов, открытых в мастере не должно бby Igor Sysoev - Nginx Mailing List - Russian
nginx stores static prefix locations in some kind of binary tree. This means that lookup is fast enough AND the order of the locations does not matter at all. The latter allows to create a lot of easy maintainable locations. Regex locations are processed in the order of appearance. This is slow and will become maintenance nightmare when configuration would eventually grow. If configuration has toby Igor Sysoev - Nginx Mailing List - English
On Feb 13, 2014, at 23:23 , offthedeepnd wrote: > Hi All, > > I'm running nginx 1.4.1 on OpenBSD 5.4 stable along with php and php-fpm > version 5.3.27 and mysql 5.1.70 on two systems. I'm trying to install > piwigo-2.6.1 and running into an issue on of of the systems as indicated by > the subject. > > When I access the site initially it takes me to the setup screen asby Igor Sysoev - Nginx Mailing List - English
On Feb 3, 2014, at 13:23 , siroco wrote: > Прошу прощения, дело было в кешах Хрома. > Все работает после включения 495 и 496. С 495 есть только одна проблема - она возвращается на примерно 30 ошибок проверки сертификата. -- Igor Sysoev http://nginby Igor Sysoev - Nginx Mailing List - Russian
On Feb 3, 2014, at 13:00 , siroco wrote: >> Ошибка "No required SSL certificate was sent" имеет специальный >> код 496, и именно его надо перехватывать директивой error_page. > > Код 496 прекрасно справляется с ситуацией перехвата ситуации с отсутby Igor Sysoev - Nginx Mailing List - Russian
On Feb 1, 2014, at 2:57 , denis wrote: > Потребовалось сделать редирект на базе одного из ряда аргументов, логично было бы так > if ($arg_SID=110) { > > А заработало так > if ($args ~ SID=110) { > > Что с $arg_SID не так? Вариант с if ($arg_SID~110) { также не заby Igor Sysoev - Nginx Mailing List - Russian
On Jan 31, 2014, at 8:35 , Ruslan Ermilov wrote: > Hi Piotr, > > On Thu, Jan 30, 2014 at 04:16:04PM -0800, Piotr Sikora wrote: [ ... ] > These seem questionable to me because the ioctl/fcntl calls are > known to report back in errno, and they're not wrapped into ngx_foo() > calls here. > > My own preferences are as follows. > > Use "ngx_errno" if we diby Igor Sysoev - Nginx Development
On Jan 30, 2014, at 12:07 , Ragnar Rova wrote: > Maybe its a Chrome bug, but I have seen chrome connecting over ssl/spdy and setting the scheme: header to "http" This is not bug, you can start Chrome with "--spdy=no-ssl" or probably "--use-spdy=no-ssl" command line option and then Chrome will request spdy over plain socket but as far as I know this is experimentaby Igor Sysoev - Nginx Development
On Jan 29, 2014, at 23:52 , Igor Sverkos wrote: > Hi, > > let assume that we run the following domains: > > - agoodexample.org > - agoodexmaple.com > - agoodexample.net > - a-good-example.org > - a-good-example.com > - a-good-example.net > > Our main site should be www.a-good-example.com -- people coming from any > other mentioned domain/combination shoulby Igor Sysoev - Nginx Mailing List - English
On Jan 30, 2014, at 3:18 , Ragnar Rova wrote: > Was a bit too quick with example, meant the 443 server does not have such a rewrite, that would mean a loop. > > server { > listen 1.2.3.4:443 ssl spdy; > > location / { > # this location is reachable using a http:// url when using spdy. If so, we want a redirect to the https:// url. How? >by Igor Sysoev - Nginx Development
On Jan 21, 2014, at 9:58 , Makailol Charls wrote: > Hello > > I use Nginx/1.4.4 as a reverse proxy and my backend webserver generates multipart response with some dynamic boundary. > > I use nginx gzip module to send compress data to the client but it is unable to compress this multipart response which contains dynamic boundary in content_type. > > If I use gzip_type as beby Igor Sysoev - Nginx Mailing List - English
On Jan 24, 2014, at 12:20 , misha_shar53 wrote: > Есть ли в NGINX журнал входящих и исходящих соединений. Если есть то как его > подключить и где посмотреть? > access_log /home/misha/Devel/wrk/nginx/access.log; > access_log on; "access_log on" создал дополнительный лby Igor Sysoev - Nginx Mailing List - Russian
On Jan 22, 2014, at 12:45 , akashihi wrote: > Добрый день. > > > > Разбирался с одной проблемой производительности и обнаружил, что nginx не > умеет читать части файлов (то есть не поддерживает range) в subrequest'ах. > > Например, если запрby Igor Sysoev - Nginx Mailing List - Russian
On Jan 20, 2014, at 15:27 , Anatoly Mikhailov wrote: > > On 20 Jan 2014, at 11:02, Igor Sysoev <igor@sysoev.ru> wrote: > >> On Jan 20, 2014, at 14:52 , Anatoly Mikhailov wrote: >> >>> в нашем случае - локально настроенная Jira с 10 пользователями, >>> сомневаюсь, что приложение зby Igor Sysoev - Nginx Mailing List - Russian
On Jan 20, 2014, at 14:52 , Anatoly Mikhailov wrote: > в нашем случае - локально настроенная Jira с 10 пользователями, > сомневаюсь, что приложение загнется при такой нагрузке. > > и все же, кто как кэширует статику, сгенерированную налету? httby Igor Sysoev - Nginx Mailing List - Russian
On Jan 13, 2014, at 2:27 , bidwell wrote: > I need to map from username to login name where I wish to map from just > username to username@domain.org for gmail and windomain\username for an > exchange server. Is there a way for me to build in hooks to change the > username before connecting. I can to that in my mailauth.pm module but > don't know how to return the updated usernamby Igor Sysoev - Nginx Mailing List - English