On 27 Apr 2016, at 12:10, 洪志道 <hongzhidao@gmail.com> wrote: > Hi, > > for example following config: > > daemon on; > ... > load_module modules/ngx_http_test_module.so; > ... > > > start nginx > > change ngx_http_test_module.c, then regenerate so file > > kill -HUP pid > > I found nginx still run the old so file (load first time)by Igor Sysoev - Nginx Development
On 26 Apr 2016, at 19:27, Anton Bessonov <exelib@gmail.com> wrote: > Спасибо большое, работает. И с демонизацией тоже. > > Но наблюдаю эффект, что если убить мастера, то воркер остаётся один. И только после убивания воркера ломается контейнеby Igor Sysoev - Nginx Mailing List - Russian
On 25 Apr 2016, at 22:55, Anton Bessonov <exelib@gmail.com> wrote: > Так и есть, ppid становится 1: Всё должно работать. Можно даже "daemon off” не ставить. -- Igor Sysoev http://nginx.com _______________________________________________ nginx-ru mailing list nginx-ru@nginx.org http://mailman.nginx.org/mailman/listinfo/nginxby Igor Sysoev - Nginx Mailing List - Russian
On 25 Apr 2016, at 20:33, Anton Bessonov <exelib@gmail.com> wrote: > Здравстуйте, > > на сколько я помню, то энджин не посзоляет обновлять конфигурацию, если менять параметры некоторых директив, таких как пути к кэшам. Актуально использую подby Igor Sysoev - Nginx Mailing List - Russian
On 21 Apr 2016, at 17:41, Jim Ohlstein <jim@ohlste.in> wrote: > Hello, > > On 4/21/16 10:17 AM, Igor Sysoev wrote: >> On 21 Apr 2016, at 17:14, Igor Sysoev <igor@sysoev.ru> wrote: >> >>> On 21 Apr 2016, at 17:09, Jim Ohlstein <jim@ohlste.in> wrote: >>> >>>> Hello, >>>> >>>> I'm going a bit crazy hereby Igor Sysoev - Nginx Mailing List - English
On 21 Apr 2016, at 17:14, Igor Sysoev <igor@sysoev.ru> wrote: > On 21 Apr 2016, at 17:09, Jim Ohlstein <jim@ohlste.in> wrote: > >> Hello, >> >> I'm going a bit crazy here and hoping for some help. I've set up a new Mailman installation on FreeBSD. The system is set as follows: >> >> Web <-> nginx SSL termination and reverse proxy <->by Igor Sysoev - Nginx Mailing List - English
On 21 Apr 2016, at 17:09, Jim Ohlstein <jim@ohlste.in> wrote: > Hello, > > I'm going a bit crazy here and hoping for some help. I've set up a new Mailman installation on FreeBSD. The system is set as follows: > > Web <-> nginx SSL termination and reverse proxy <-> nginx + fcgiwrap + Mailman > > When I try to access https://lists.mydomain.com or https://liby Igor Sysoev - Nginx Mailing List - English
On 18 Apr 2016, at 13:33, siroco <nginx-forum@forum.nginx.org> wrote: Вот это > # we are checking files plus ".sha256" extentions > set $filetocheck $uri.sha256; > > set $cdn_server_name our-cdn.domain.com; лучше сразу подставить в директивы. -- Igor Sysoev http://nginx.com ______by Igor Sysoev - Nginx Mailing List - Russian
On 18 Apr 2016, at 12:09, siroco <nginx-forum@forum.nginx.org> wrote: > Привет! > > Хочется сделать такую вещь - проверять наличие файла (это файл с контрольной > суммой, например, "/myfile.txt.sha256") и в случае наличия файла делать > редирекby Igor Sysoev - Nginx Mailing List - Russian
details: http://hg.nginx.org/njs/rev/1c50334fbea6 branches: changeset: 99:1c50334fbea6 user: Igor Sysoev <igor@sysoev.ru> date: Thu Apr 14 18:23:09 2016 +0300 description: "new Date()" incorrectly returned always Jan 1, 1970. diffstat: njs/njs_date.c | 2 +- njs/test/njs_unit_test.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diffs (24 linby Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/51009da8e3d0 branches: changeset: 98:51009da8e3d0 user: Igor Sysoev <igor@sysoev.ru> date: Mon Apr 11 14:39:59 2016 +0300 description: String.fromCharCode() and String.fromCodePoint(). diffstat: njs/njs_string.c | 69 ++++++++++++++++++++++++++++++++++++++++++++++++ njs/test/njs_unit_test.c | 21 ++++++++++++++ 2 files changed,by Igor Sysoev - Nginx Development
On 13 Apr 2016, at 03:01, Ramon_Ali <nginx-forum@forum.nginx.org> wrote: > Hi, i was wanting to return a 403 when invalid client certificate submitted, > however Nginx 1.9.6 returning 400 Bad Request, The SSL Certificate Error. > Seems to return 403 fine when no certificate is submitted, but any clues on > getting it to return a 403 work when invalid (signed by unauthorised CA)by Igor Sysoev - Nginx Mailing List - English
details: http://hg.nginx.org/njs/rev/24544f647802 branches: changeset: 97:24544f647802 user: Igor Sysoev <igor@sysoev.ru> date: Sat Apr 09 12:21:31 2016 +0300 description: Old array data are freed after array relocation. diffstat: njs/njs_array.c | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diffs (31 lines): diff -r 160e59aaf9bb -r 24544f647802 njs/njs_arby Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/160e59aaf9bb branches: changeset: 96:160e59aaf9bb user: Igor Sysoev <igor@sysoev.ru> date: Sat Apr 09 12:18:47 2016 +0300 description: Segfault has been fixed when array element was added with assignment. diffstat: njs/njs_vm.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (12 lines): diff -r 0e62188391a1 -r 160e59aaf9by Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/0e62188391a1 branches: changeset: 95:0e62188391a1 user: Igor Sysoev <igor@sysoev.ru> date: Fri Apr 08 18:59:06 2016 +0300 description: Forgotten nxt/nxt_time.h file has been added. diffstat: nxt/nxt_time.h | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) diffs (28 lines): diff -r 39557c1b3088 -r 0e621883by Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/39557c1b3088 branches: changeset: 94:39557c1b3088 user: Igor Sysoev <igor@sysoev.ru> date: Fri Apr 08 18:19:43 2016 +0300 description: Date() function. diffstat: Makefile | 16 + njs/njs_builtin.c | 9 + njs/njs_date.c | 2104 ++++++++++++++++++++++++++++++++++++++++++++++ njs/njs_date.hby Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/91543c86f412 branches: changeset: 93:91543c86f412 user: Igor Sysoev <igor@sysoev.ru> date: Tue Mar 29 13:38:18 2016 +0300 description: A fast exit from argument normalization loop. This also fixes an issue when SunC 5.9 does not set omitted array elements to a zero. diffstat: njs/njs_vm.c | 4 +++- 1 files changed, 3 insertions(+), 1 delby Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/f674bd8a8b76 branches: changeset: 92:f674bd8a8b76 user: Igor Sysoev <igor@sysoev.ru> date: Mon Mar 28 17:34:42 2016 +0300 description: Fixed building on Solaris by SunC. diffstat: njs/njs_math.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (12 lines): diff -r 0354cdd7d114 -r f674bd8a8b76 njs/njs_math.c --- a/njs/njs_mby Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/0354cdd7d114 branches: changeset: 91:0354cdd7d114 user: Igor Sysoev <igor@sysoev.ru> date: Thu Mar 24 17:13:27 2016 +0300 description: Miscellaneous issues found by Coverity Scan have been fixed. diffstat: njs/njs_variable.c | 6 +- njs/njs_vm.c | 226 ++++++++++++++++++++++++++-------------------------- 2 files changed, 117 insby Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/027e0e8e7f61 branches: changeset: 90:027e0e8e7f61 user: Igor Sysoev <igor@sysoev.ru> date: Thu Mar 24 14:22:08 2016 +0300 description: Issues found by Coverity Scan in Regex have been fixed. diffstat: njs/njs_regexp.c | 22 +++++++++++++++++++--- 1 files changed, 19 insertions(+), 3 deletions(-) diffs (60 lines): diff -r 425cf63a7283 -by Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/425cf63a7283 branches: changeset: 89:425cf63a7283 user: Igor Sysoev <igor@sysoev.ru> date: Thu Mar 24 13:57:06 2016 +0300 description: Issues found by Coverity Scan in String.match() have been fixed. diffstat: njs/njs_string.c | 28 ++++++++++++++++------------ njs/test/njs_unit_test.c | 8 ++++++++ 2 files changed, 24 insertioby Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/6e70fe1e0a47 branches: changeset: 88:6e70fe1e0a47 user: Igor Sysoev <igor@sysoev.ru> date: Wed Mar 23 15:49:49 2016 +0300 description: User defined function prototype. diffstat: njs/njs_builtin.c | 18 ++++++-- njs/njs_function.c | 63 ++++++++++++++++++++++++++++- njs/njs_function.h | 3 + njs/njs_object.cby Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/7ad8820b9c74 branches: changeset: 87:7ad8820b9c74 user: Igor Sysoev <igor@sysoev.ru> date: Wed Mar 23 15:49:46 2016 +0300 description: Math.random() method. diffstat: Makefile | 6 +- njs/njs_array.c | 1 + njs/njs_boolean.c | 1 + njs/njs_builtin.c | 1 + njs/njs_disaby Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/e3bc4f6f3480 branches: changeset: 86:e3bc4f6f3480 user: Igor Sysoev <igor@sysoev.ru> date: Wed Mar 23 15:27:14 2016 +0300 description: Math object. diffstat: Makefile | 14 + njs/njs_array.c | 1 + njs/njs_builtin.c | 22 +- njs/njs_disassembler.c | 4 +- njs/njs_function.c | 15 +- njs/by Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/5995bd7637ff branches: changeset: 85:5995bd7637ff user: Igor Sysoev <igor@sysoev.ru> date: Wed Mar 23 15:27:10 2016 +0300 description: Style and small miscellaneous fixes. diffstat: njs/njs_string.c | 6 ++++++ njs/njs_string.h | 2 +- njs/njs_vm.c | 1 - njs/njs_vm.h | 5 ++++-by Igor Sysoev - Nginx Development
details: http://hg.nginx.org/njs/rev/480849ab9e96 branches: changeset: 83:480849ab9e96 user: Igor Sysoev <igor@sysoev.ru> date: Fri Mar 04 14:57:21 2016 +0300 description: Fixed building by GCC 4.1. diffstat: nginx/ngx_http_js_module.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diffs (13 lines): diff -r 0dce9318807a -r 480849ab9e96 nginx/ngx_http_js_module.by Igor Sysoev - Nginx Development
On 04 Mar 2016, at 13:30, B.R. <reallfqq-nginx@yahoo.fr> wrote: > On Fri, Mar 4, 2016 at 11:19 AM, Igor Sysoev <igor@sysoev.ru> wrote: > Sorry, I meant there is no performance difference between “none” and “off” settings. > > Well, the client believes he should remember every session ID and store it somewhere for nothing, reading/resending/writing it on every cby Igor Sysoev - Nginx Mailing List - English
On 04 Mar 2016, at 12:55, B.R. <reallfqq-nginx@yahoo.fr> wrote: > On Fri, Mar 4, 2016 at 10:33 AM, Igor Sysoev <igor@sysoev.ru> wrote: >> But still, advertising something without actually supporting it must lead to cases where sessions reuse is believed to take place without ever happening, harming performance... that was probably happening in versions < 1.5.9. > >by Igor Sysoev - Nginx Mailing List - English
On 04 Mar 2016, at 12:08, B.R. <reallfqq-nginx@yahoo.fr> wrote: > Thanks Igor, that makes the whole thing crystal clear! > > What saves us there is the fact that, if I understand it well, the RFC 5077 states the server decides by itself on the use of tickets and those have precedence over identifiers. Yes. > But still, advertising something without actually supporting it mby Igor Sysoev - Nginx Mailing List - English
On 03 Mar 2016, at 18:42, B.R. <reallfqq-nginx@yahoo.fr> wrote: > Thanks, Maxim. > > You were right: I did my tests improperly... > > What is the use of the 'none' value then? Should not there be only the 'off' one? > There must be some benefit to it, but I fail to catch it. Initially it has been implemented for mail proxy module, but it seems that “none” is more grby Igor Sysoev - Nginx Mailing List - English