details: http://hg.nginx.com/njs/rev/0dce9318807a branches: changeset: 82:0dce9318807a user: Igor Sysoev <igor@sysoev.ru> date: Wed Mar 02 15:10:28 2016 +0300 description: njs_vm_call() interface to call a function outside. nginx content and variable handlers interface is function name(request, response) { ... } Variable handler use a value returned by function as value oby Igor Sysoev - Nginx Development
On 25 Feb 2016, at 07:48, Alexander Uskov <auskov@neolabs.kz> wrote: > Попробую Lua, так как яваскрипт пока нефункционален (нет класса Math), А что нужно в Math? -- Igor Sysoev http://nginx.com _______________________________________________ nginx-ru mailing list nginx-ru@nginx.org http://mailman.nginx.org/mailman/listinfo/by Igor Sysoev - Nginx Mailing List - Russian
On 15 Jan 2016, at 10:18, Aleksei <niemi@solo.ee> wrote: > Доброго времени суток, > возможно ли собрать Nginx c libslz вместо zlib. > моя попытка оказалась неудачной, возможно мало опыта или звёзды расположились на небе.. > хотел бы устлышать оby Igor Sysoev - Nginx Mailing List - Russian
Thank you, these and other bugs are fixed in the recent commits. -- Igor Sysoev http://nginx.com On 03 Jan 2016, at 08:18, 洪志道 <hongzhidao@gmail.com> wrote: > yep, happy new year. > > i found anthoer bug. > > js_run " > function foo() > { > return 'bug while there is empty statement such ; after return statemenby Igor Sysoev - Nginx Development
On 02 Jan 2016, at 17:17, 洪志道 <hongzhidao@gmail.com> wrote: > js_set $bar " > $r.error = "this will cause coredump file since ext->set is null"; > “; Thank you, I will this after new year vacation. -- Igor Sysoev http://nginx.com _______________________________________________ nginx-devel mailing list nginx-devel@nginx.org http://mailman.nginx.org/mby Igor Sysoev - Nginx Development
On 09 Dec 2015, at 00:46, greenh <greenh@gmail.com> wrote: > В процессе развертывания и дебага случайно выяснилось, что nginx -V и nginx -v вываливают ответ в stdout. Если не секрет - зачем? )) Потому что GCC, Python и Java вываливают в stderr, а Perl, Ruby, PHP, Node.js, Apache, Sby Igor Sysoev - Nginx Mailing List - Russian
On 03 Dec 2015, at 10:28, Judson Wilson <wilson.judson@gmail.com> wrote: > On inspecting some code for academic reasons, I noticed that ngx_ssl_shutdown() looks like it might be using SSL_shutdown() incorrectly? > > I haven't actually "used" the code, and have not tested it or seen any symptoms. > > > The first hint of a problem is the following comment: >by Igor Sysoev - Nginx Development
On 04 Nov 2015, at 13:45, Alex Domoradov <alex.hha@gmail.com> wrote: > Столкнулся с проблемой необходимости перевести apache на nginx. На данный момент в apache в настройках виртуалхоста есть директивы > > ProxyPassReverse / http://javaclr.example.net/ > ProxyPassReverse / http://imagby Igor Sysoev - Nginx Mailing List - Russian
On 24 Sep 2015, at 00:58, Синицкий Павел Евгеньевич <sejo412@gmail.com> wrote: > В каком порядке считывается сабж? зависит ли от ОС? Изменения в nginx 1.3.10 25.12.2012 *) Изменение: теперь при использовании директивы incluby Igor Sysoev - Nginx Mailing List - Russian
23 сент. 2015 г., в 12:29, itpp2012 <nginx-forum@nginx.us> написал(а): > > Is there any module loading order advice? ea. should it be before or after > Lua? does/should it matter? It doesn't matter. -- Igor Sysoev http://nginx.com _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginxby Igor Sysoev - Nginx Mailing List - English
Сегодня на конференции nginx.conf/2015 мы объявили о выпуске предварительной версии javascript в nginx’е. Репозитарий: http://hg.nginx.org/njs/ Примеры использования: https://www.nginx.com/blog/launching-nginscript-and-looking-ahead Интересно ваше мнение об JS-интерфеby Igor Sysoev - Nginx Mailing List - Russian
On 23 Sep 2015, at 20:39, Danomi Czaski <djczaski@gmail.com> wrote: > For those interested: > > https://www.nginx.com/blog/launching-nginscript-and-looking-ahead Yes, repository is here: http://hg.nginx.org/njs/ This is preliminary version. No built-in JS objects, no closures. We appreciate your feedback on JS interface to nginx internals. -- Igor Sysoev http://nginx.com ___by Igor Sysoev - Nginx Mailing List - English
It will be announced today. -- Igor Sysoev > 23 сент. 2015 г., в 8:20, Danomi Czaski <djczaski@gmail.com> написал(а): > > I read quite a while ago that Nginx plans to move towards a Javascript > style configuration file that may have similar functionality to > ngx_lua. I'm wondering if there were any announcements at the Nginx > Conference this week. >by Igor Sysoev - Nginx Mailing List - English
Hi, please clam down. This mailing list has been created to discuss and announce anything related to nginx. This book certainly has relation to nginx so Valery did well when he announced it here. -- Igor Sysoev Discover best practices for building & delivering apps at scale. nginx.conf 2015: Sept. 22-24, San Francisco. http://nginx.com/nginxconf On 29 Aug 2015, at 12:31, B.R. <reallfqq-by Igor Sysoev - Nginx Mailing List - English
Nearly 20 years ago I read my first O’Reilly book, Learning Perl. Back then I never would have dreamed O’Reilly would someday publish a book written about the software I created, yet here we are today. I am honored to announce that later this year O’Reilly Media will publish one of their iconic animal books entitled nginx: A Practical Guide to High Performance, and I’m delighted to offerby Igor Sysoev - Nginx Mailing List - English
On 30 Jul 2015, at 17:57, Gregory Edigarov <edigarov@qarea.com> wrote: > Hello, > > is that possible to tell nginx to stay inside the same location after rewrite rule is done? > > i.e. I have: > > location /njs/ { > proxy_pass http://localhost:5501; > ...... > } > > now, if i need to cut off /njs/ part, i added the following: > location /njs/ {by Igor Sysoev - Nginx Mailing List - English
On 10 Jun 2015, at 12:22, dant4z <nginx-forum@nginx.us> wrote: > Есть ли возможность отменить унаследованную директиву error_page с уровня > server (вернуться к поведению по умолчанию) в одном конкретном location? В > этом location бэкенд возвращает код 4by Igor Sysoev - Nginx Mailing List - Russian
On 29 May 2015, at 10:14, Rv Rv <rvrv7575@yahoo.com> wrote: > I have a URI with spanish characters that needs to be handled in location block specific to it e.g. I want to do > location <URI with spanish characters> { > } > > However, nginx does not seem to match URI in location block with spanish (or any other characters including chinese). Is this functionality supby Igor Sysoev - Nginx Mailing List - English
details: http://hg.nginx.org/nginx/rev/0b8f6f75245d branches: changeset: 6145:0b8f6f75245d user: Igor Sysoev <igor@sysoev.ru> date: Fri May 15 17:15:33 2015 +0300 description: Events: ngx_event_t size reduction by grouping bit fields. diffstat: src/event/ngx_event.h | 17 ++++++++--------- 1 files changed, 8 insertions(+), 9 deletions(-) diffs (34 lines): diff -r d0a84ae2by Igor Sysoev - Nginx Development
On 24 Apr 2015, at 15:49, Vitaliy Okulov <vitaliy.okulov@gmail.com> wrote: > Платная версия syslog-ng умеет гарантировать доставку. В этой ситуации стоит поднять локальный syslog. > А что будет с syslog-ng, если удалённый хост не доступен, он будет полученноby Igor Sysoev - Nginx Mailing List - Russian
On 24 Apr 2015, at 15:25, Иван Мишин <simplebox66@gmail.com> wrote: > Лучше бы поддержка syslog была по rfc5424 Если нужна надёжная доставка логов, то их надо записывать в локальные файлы, ротировать их хоть каждую минуту и копировать в центрby Igor Sysoev - Nginx Mailing List - Russian
On 14 Apr 2015, at 09:20, nitesh narayan lal <niteshnarayanlalleo@gmail.com> wrote: > Hi, > > I am using a single worker process and master_process off in nginx.conf. > Now as per my understanding, the flow of operation would be something like: > NGiNX master process will be created which will spawn a single > worker_process using fork and then master process gets killed.by Igor Sysoev - Nginx Mailing List - English
On 08 Apr 2015, at 08:00, E.B. <emailbuilder88@yahoo.com> wrote: > Hello, > > I'm new to Nginx, coming from Apache. Now I'm struggling with > how to apply multiple configs and rules to different location (request > tyeps). > > Easy example, a server/site has PHP support for all of its requests > but only one of its directoryies needs to have HTTP AUTH. > > Iby Igor Sysoev - Nginx Mailing List - English
On 08 Feb 2015, at 02:39, B.R. <reallfqq-nginx@yahoo.fr> wrote: > - Is their nginx configuration suitable for valid benchmark results? Probably you should disable "accept_mutex off": http://nginx.org/en/docs/ngx_core_module.html#accept_mutex Because the mutex in combination with "multi_accept on”: http://nginx.org/en/docs/ngx_core_module.html#multi_accept routes almosby Igor Sysoev - Nginx Mailing List - English
On 05 Feb 2015, at 11:26, justink101 <nginx-forum@nginx.us> wrote: > Thanks Igor. > > What if one of the servers listed in the upstream block should be over https > and the other over http? How is this done using > > upstream proxies { > server foo.mydomain.io; > server bar.mydomain.com; > } > > proxy_pass https://proxies/api/; > > Notice theby Igor Sysoev - Nginx Mailing List - English
On 04 Feb 2015, at 12:11, justink101 <nginx-forum@nginx.us> wrote: > Is it possible to specify multiple proxy_pass destinations from a single > location block? Currently we have: > > location ~ ^/v1/?(?<url>.+)? { > resolver 208.67.222.222 208.67.220.220 valid=300s; > resolver_timeout 10s; > proxy_intercept_errors off; > proxy_hide_header Vary; >by Igor Sysoev - Nginx Mailing List - English
On 03 Feb 2015, at 09:31, malintha <nginx-forum@nginx.us> wrote: > My nginx configurations are as follows. I am going to connect running server > UI from my machine through nginx. > > server { > listen 443; > server_name mgt.wso2bps.malintha.com; > ssl on; > ssl_certificate /etc/nginx/ssl/wso2bps.crt; > ssl_certificate_key /etc/nginx/ssl/wso2bpsby Igor Sysoev - Nginx Mailing List - English
On 30 Jan 2015, at 00:01, Vadim A. Misbakh-Soloviov <mva@mva.name> wrote: > В письме от Чт, 29 января 2015 23:50:49 пользователь Igor Sysoev написал: >> В сочетании nginx/glibc тоже нет уязвимости. > > В общем случае — да :) > > Но, на сколько я понял намёк ОПby Igor Sysoev - Nginx Mailing List - Russian
On 29 Jan 2015, at 23:33, Vadim A. Misbakh-Soloviov <mva@mva.name> wrote: > Так уязвимость в glibc же ж, а не в коде приложений :) В сочетании nginx/glibc тоже нет уязвимости. -- Igor Sysoev http://nginx.com _______________________________________________ nginx-ru mailing list nginx-ru@nginx.org http://mailman.nginx.org/mby Igor Sysoev - Nginx Mailing List - Russian
details: http://hg.nginx.org/nginx/rev/78271500b8de branches: changeset: 5965:78271500b8de user: Igor Sysoev <igor@sysoev.ru> date: Tue Jan 27 15:38:15 2015 +0300 description: A bounds check of %N format on Windows. Thanks to Joe Bialek, Adam Zabrocki and Microsoft Vulnerability Research. diffstat: src/core/ngx_string.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletiby Igor Sysoev - Nginx Development