(将nginx配置文件备份)
1.将nginx编译参数打印出来
nginx -V
2.解压压缩包
tar -zxvf nginx.1.16.1
3.编译文件
./configure --prefix=/home/ylqz/software/nginx --with-http_stub_status_module --with-http_ssl_module
4.安装
make install
5.重启
nginx -s reolad
(将nginx配置文件备份)
nginx -V
tar -zxvf nginx.1.16.1
./configure --prefix=/home/ylqz/software/nginx --with-http_stub_status_module --with-http_ssl_module
make install
nginx -s reolad