We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39e4d53 commit ee8d5ddCopy full SHA for ee8d5dd
config
@@ -1,3 +1,11 @@
1
ngx_addon_name=ngx_http_uploadprogress_module
2
-HTTP_FILTER_MODULES="$HTTP_FILTER_MODULES ngx_http_uploadprogress_module"
3
-NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_uploadprogress_module.c"
+if test -n "$ngx_module_link"; then
+ ngx_module_type=FILTER
4
+ ngx_module_name=ngx_http_uploadprogress_module
5
+ ngx_module_srcs="$ngx_addon_dir/ngx_http_uploadprogress_module.c"
6
+
7
+ . auto/module
8
+else
9
+ HTTP_FILTER_MODULES="$HTTP_FILTER_MODULES ngx_http_uploadprogress_module"
10
+ NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_uploadprogress_module.c"
11
+fi
0 commit comments