Skip to content

Commit dd13854

Browse files
committed
config: Fix ngx_module_type
Since commit 37182ce the module was not present in static builds because due to an invalid "ngx_module_type" the module was not added to objs/ngx_modules.c. This commit will fix the problem by setting the correct module type "HTTP_FILTER" [Link 1]. Link 1: https://www.nginx.com/resources/wiki/extending/new_config/#key-ngx_module_type Gentoo-Bug: https://bugs.gentoo.org/593450 Fixes: #50
1 parent cfbbbf8 commit dd13854

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ngx_addon_name=ngx_http_uploadprogress_module
22
if test -n "$ngx_module_link"; then
3-
ngx_module_type=FILTER
3+
ngx_module_type=HTTP_FILTER
44
ngx_module_name=ngx_http_uploadprogress_module
55
ngx_module_srcs="$ngx_addon_dir/ngx_http_uploadprogress_module.c"
66

0 commit comments

Comments
 (0)