Quellcode durchsuchen

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 vor 9 Jahren
Ursprung
Commit
dd138546b1
Es ist kein Account mit der E-Mail-Adresse des Committers verbunden
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1
    1
      config

+ 1
- 1
config Datei anzeigen

@@ -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
 

Laden…
Abbrechen
Speichern