[njs] HTTP: fixed module type introduced in c0c6539ae445.

Dmitry Volyntsev xeioex at nginx.com
Mon Feb 1 16:14:19 UTC 2021


details:   https://hg.nginx.org/njs/rev/8d4b7b3ae73d
branches:  
changeset: 1598:8d4b7b3ae73d
user:      Dmitry Volyntsev <xeioex at nginx.com>
date:      Mon Feb 01 16:13:10 2021 +0000
description:
HTTP: fixed module type introduced in c0c6539ae445.

diffstat:

 nginx/config |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r c0c6539ae445 -r 8d4b7b3ae73d nginx/config
--- a/nginx/config	Mon Feb 01 12:24:17 2021 +0000
+++ b/nginx/config	Mon Feb 01 16:13:10 2021 +0000
@@ -5,7 +5,7 @@ NJS_SRCS="$ngx_addon_dir/ngx_js.c \
     $ngx_addon_dir/ngx_js_fetch.c"
 
 if [ $HTTP != NO ]; then
-    ngx_module_type=HTTP_FILTER
+    ngx_module_type=HTTP_AUX_FILTER
     ngx_module_name=ngx_http_js_module
     ngx_module_incs="$ngx_addon_dir/../src $ngx_addon_dir/../build"
     ngx_module_deps="$ngx_addon_dir/../build/libnjs.a $NJS_DEPS"


More information about the nginx-devel mailing list