added rtmp module to nginx image
All checks were successful
CI / Build nginx docker images (push) Successful in 6m31s
All checks were successful
CI / Build nginx docker images (push) Successful in 6m31s
This commit is contained in:
30
nginx/build-rtmp.sh
Normal file
30
nginx/build-rtmp.sh
Normal file
@@ -0,0 +1,30 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
set -e
|
||||
|
||||
CONFIG='
|
||||
--prefix=/etc/nginx
|
||||
--sbin-path=/usr/sbin/nginx
|
||||
--modules-path=/usr/lib/nginx/modules
|
||||
--conf-path=/etc/nginx/nginx.conf
|
||||
--error-log-path=/var/log/nginx/error.log
|
||||
--http-log-path=/var/log/nginx/access.log
|
||||
--pid-path=/var/run/nginx.pid
|
||||
--lock-path=/var/run/nginx.lock
|
||||
--http-client-body-temp-path=/var/cache/nginx/client_temp
|
||||
--http-proxy-temp-path=/var/cache/nginx/proxy_temp
|
||||
--http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp
|
||||
--http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp
|
||||
--http-scgi-temp-path=/var/cache/nginx/scgi_temp
|
||||
--user=nginx
|
||||
--group=nginx
|
||||
--with-http_ssl_module
|
||||
--add-dynamic-module=/ngx-rtmp-module
|
||||
'
|
||||
|
||||
cd /nginx
|
||||
|
||||
auto/configure $CONFIG \
|
||||
--with-cc-opt="-I/home/luser/libressl/build/include" \
|
||||
--with-ld-opt="-lstdc++ -L/home/luser/libressl/build/ssl -L/home/luser/libressl/build/crypto"
|
||||
make -j$(nproc)
|
||||
Reference in New Issue
Block a user