Просмотр исходного кода

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 лет назад
Родитель
Сommit
dd138546b1
Аккаунт пользователя с таким Email не найден
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
 

Загрузка…
Отмена
Сохранить