参考
https://blog.csdn.net/z1074971432/article/details/72753553
https://www.jianshu.com/p/c9863fe0df8b
http://nginx.org/download 下载nginx-1.16.1
https://github.com/fdintino/nginx-upload-module/releases 下载 2.3.0版本
tar zxvf 两个tar.gz包后,将nginx-upload-module-2.3.0放到nginx-1.16.1下,并改名为nginx-upload-module
yum -y install gcc gcc-c++
yum -y install pcre-devel
yum -y install openssl openssl-devel
cd nginx-1.16.1
./configure --prefix=/usr/local/webserver/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --user=www --group=www --with-http_ssl_module --with-http_stub_status_module --add-module=nginx-upload-module
make
make install