소스 검색

config: Fix ngx_module_type

Since commit 37182ce2f3 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: https://github.com/masterzen/nginx-upload-progress-module/issues/50
tags/v0.9.3
Thomas Deutschmann 9 년 전
부모
커밋
dd138546b1
No account linked to committer's email address
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      config

+ 1
- 1
config 파일 보기

@@ -1,6 +1,6 @@
1 1
 ngx_addon_name=ngx_http_uploadprogress_module
2 2
 if test -n "$ngx_module_link"; then
3
-    ngx_module_type=FILTER
3
+    ngx_module_type=HTTP_FILTER
4 4
     ngx_module_name=ngx_http_uploadprogress_module
5 5
     ngx_module_srcs="$ngx_addon_dir/ngx_http_uploadprogress_module.c"
6 6
 

Loading…
취소
저장