mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
nginx-upload: new package
A module for nginx web server for handling file uploads using multipart/form-data encoding (RFC 1867). Signed-off-by: Bimal Jacob <bimal.jacob@rockwellcollins.com> Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com> [Thomas: - rename from nginx-upload-module to nginx-upload. Indeed, we don't want all nginx modules to be suffixed with "-module" - include the module Config.in file directly from package/Config.in, like we do for Python, Perl, Lua or TCL modules.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
51925b7dd6
commit
e103967d6f
@@ -234,6 +234,12 @@ NGINX_CONF_OPTS += \
|
||||
|
||||
endif # BR2_PACKAGE_NGINX_STREAM
|
||||
|
||||
# external modules
|
||||
ifeq ($(BR2_PACKAGE_NGINX_UPLOAD),y)
|
||||
NGINX_CONF_OPTS += $(addprefix --add-module=,$(NGINX_UPLOAD_DIR))
|
||||
NGINX_DEPENDENCIES += nginx-upload
|
||||
endif
|
||||
|
||||
# Debug logging
|
||||
NGINX_CONF_OPTS += $(if $(BR2_PACKAGE_NGINX_DEBUG),--with-debug)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user