]> git.kaiwu.me - njs.git/commitdiff
An option how to build njs module dynamically provided.
authorMaxim Konovalov <maxim@nginx.com>
Wed, 23 Mar 2016 09:10:44 +0000 (12:10 +0300)
committerMaxim Konovalov <maxim@nginx.com>
Wed, 23 Mar 2016 09:10:44 +0000 (12:10 +0300)
README

diff --git a/README b/README
index 03b1db12579a4794139ea817d6ac395b71098610..111b1cca5a7e41eb61466664b5736c56ec81c6bf 100644 (file)
--- a/README
+++ b/README
@@ -3,6 +3,14 @@ Configure nginx with HTTP JavaScript module using the --add-module option:
 
     ./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@nginx.org (http://mailman.nginx.org/mailman/listinfo/nginx-devel).