centos nginx install shell script centos nginx 1.23.3 安装脚本
vim nginx_install.sh
chang NGINX_VERSION="1.23.3"
vim nginx_install.sh
chang NGINX_INSTALL_PATH="/your/path"
oyzhi.conf config https and http/2.0 自带配置文件 oyzhi.com.conf 配置了https和http/2.0
chmod +x nginx_install.sh
sh ginx_install.sh
cd /user/local/nginx
*using https and http/2 * 根据自己喜好配置 这里默认带HTTPS HHTP/2
/etc/init.d/nginx start
netstat -lnpt | grep nginx