feat(nginx): enable stream and stream-ssl support

- `--with-stream` enables the TCP and UDP proxy

close #10541

Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>
This commit is contained in:
Aditya Alok 2022-05-08 10:50:33 +05:30
parent 9c870ffee3
commit 25e8f0c343
No known key found for this signature in database
GPG Key ID: 345AE134142077D8

View File

@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Lightweight HTTP server"
TERMUX_PKG_LICENSE="BSD 2-Clause"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.21.3
TERMUX_PKG_REVISION=4
TERMUX_PKG_REVISION=5
TERMUX_PKG_SRCURL=http://nginx.org/download/nginx-$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=14774aae0d151da350417efc4afda5cce5035056e71894836797e1f6e2d1175a
TERMUX_PKG_DEPENDS="libandroid-glob, libcrypt, pcre, openssl, zlib"
@ -65,6 +65,8 @@ termux_step_configure() {
--with-http_ssl_module \
--with-http_v2_module \
--with-http_gunzip_module \
--with-stream \
--with-stream_ssl_module \
$DEBUG_FLAG
}