]> git.kaiwu.me - njs.git/commitdiff
HTTP: fixed module type introduced in c0c6539ae445.
authorDmitry Volyntsev <xeioex@nginx.com>
Mon, 1 Feb 2021 16:13:10 +0000 (16:13 +0000)
committerDmitry Volyntsev <xeioex@nginx.com>
Mon, 1 Feb 2021 16:13:10 +0000 (16:13 +0000)
nginx/config

index 6389ae4029e48db7abe09ff2ac9ea85a0420020d..29f6dcac514b7a2ccd36f6dffaadc8f1fa3f65b9 100644 (file)
@@ -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"