From d274aa9e405fb52b0a2909a5543c8496071fcddb Mon Sep 17 00:00:00 2001 From: sebseb7 Date: Fri, 18 Feb 2022 15:58:12 +0100 Subject: [PATCH] Update build-nginx-rtmp.sh --- build-nginx-rtmp.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/build-nginx-rtmp.sh b/build-nginx-rtmp.sh index eab0107..8344dd3 100755 --- a/build-nginx-rtmp.sh +++ b/build-nginx-rtmp.sh @@ -1,4 +1,4 @@ -sudo apt-get install zlib1g-dev libssl-dev +sudo apt-get install zlib1g-dev libssl-dev wget git clone -b master --single-branch --depth 1 https://github.com/arut/nginx-rtmp-module.git cd nginx-rtmp-module @@ -6,10 +6,10 @@ wget https://patch-diff.githubusercontent.com/raw/arut/nginx-rtmp-module/pull/14 cat 1450.diff | patch -p1 cd .. -wget -4 http://nginx.org/download/nginx-1.18.0.tar.gz -tar -xzf nginx-1.18.0.tar.gz -rm nginx-1.18.0.tar.gz -cd nginx-1.18.0 +wget -4 http://nginx.org/download/nginx-1.20.2.tar.gz +tar -xzf nginx-1.20.2.tar.gz +rm nginx-1.20.2.tar.gz +cd nginx-1.20.2 ./configure --with-http_v2_module --with-http_ssl_module --without-http_fastcgi_module --without-http_rewrite_module --without-http_scgi_module --without-http_uwsgi_module --add-module=../nginx-rtmp-module make -j4 sudo make install