nginx_1.16.1 1_xenial_amd64.deb (ubuntu16.0.4)
1.安装Nginx sudo dpkg -i nginx_1.16.1-1_xenial_amd64 A、前端包放在路径/usr/share/nginx/html/ B、修改配置文件/etc/nginx/conf.d/default.conf 2.启动Nginx服务 sudo /etc/init.d/nginx start 3.优雅停止Nginx服务 sudo /etc/init.d/nginx quit 4.加载最新配置 sudo /etc/init.d/nginx reload 5.立即停止Nginx服务 sudo /etc/init.d/nginx stop 感谢卢林威
用户评论