From: Maxim Konovalov Date: Wed, 23 Mar 2016 09:10:44 +0000 (+0300) Subject: An option how to build njs module dynamically provided. X-Git-Tag: 0.1.0~48 X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/static/gitweb.js?a=commitdiff_plain;h=39f2320971283a58f1f135f492e8c2e55dfcddd2;p=njs.git An option how to build njs module dynamically provided. --- diff --git a/README b/README index 03b1db12..111b1cca 100644 --- a/README +++ b/README @@ -3,6 +3,14 @@ Configure nginx with HTTP JavaScript module using the --add-module option: ./configure --add-module=/nginx +Alternatively, you can build a dynamic version of the njs module + + ./configure --add-dynamic-module=/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).