1.
http://nginx.org/en/download.html
https://github.com.cnpmjs.org/zls0424/ngx_req_status
https://github.com.cnpmjs.org/arut/nginx-rtmp-module
2.
apt install openssl libssl-dev libpcre3 libpcre3-dev zlib1g-dev make
3.
patch -p1 < /home/kn/ngx_req_status/ngx_req_status-master/write_filter-1.7.11.patch ./configure --prefix=/usr/local/nginx \ --with-http_ssl_module \ --http-client-body-temp-path=/usr/local//nginx/temp/client_body_temp \ --http-proxy-temp-path=/usr/local//nginx/temp/proxy_temp \ --http-fastcgi-temp-path=/usr/local/nginx/temp/fastcgi_temp \ --http-uwsgi-temp-path=/usr/local/nginx/temp/uwsgi_temp \ --http-scgi-temp-path=/usr/local/nginx/temp/scgi_temp \ --add-module=../ngx_req_status-master/ \ --add-module=../nginx-rtmp-module-master/ \ --with-cc-opt="-Wimplicit-fallthrough=0" make -j2 make install
本文为看恩吧原创文章,转载无需和我联系,但请注明来自knsay.com