[njs] An option how to build njs module dynamically provided.

Maxim Konovalov maxim at nginx.com
Wed Mar 23 09:09:31 UTC 2016


details:   http://hg.nginx.org/njs/rev/4deb6b538b48
branches:  
changeset: 84:4deb6b538b48
user:      Maxim Konovalov <maxim at nginx.com>
date:      Wed Mar 23 12:10:44 2016 +0300
description:
An option how to build njs module dynamically provided.

diffstat:

 README |  8 ++++++++
 1 файлов изменено, 8 вставок(+), 0 удалений(-)

различия (18 строк):

diff -r 480849ab9e96 -r 4deb6b538b48 README
--- a/README	Fri Mar 04 14:57:21 2016 +0300
+++ b/README	Wed Mar 23 12:10:44 2016 +0300
@@ -3,6 +3,14 @@ Configure nginx with HTTP JavaScript mod
 
     ./configure --add-module=<path-to-njs>/nginx
 
+Alternatively, you can build a dynamic version of the njs module
+
+    ./configure --add-dynamic-module=<path-to-njs>/nginx
+
+and add the following line to nginx.conf and reload nginx:
+
+    load_module modules/ngx_http_js_module.so;
+
 Please report your experiences to the NGINX development mailing list
 nginx-devel at nginx.org (http://mailman.nginx.org/mailman/listinfo/nginx-devel).
 


More information about the nginx-devel mailing list