nginx安装:yum install nginx -y
将nginx设置为开机启动:chkconfig nginx on
nginx -t 查看配置文件路径
nginx proxy配置:
nginx重启命令:nginx -s reload或systemctl restart nginx.service
nginx安装:yum install nginx -y
将nginx设置为开机启动:chkconfig nginx on
nginx -t 查看配置文件路径
nginx proxy配置:
nginx重启命令:nginx -s reload或systemctl restart nginx.service