
注:
1、停止NGINX服务:
systemctl stop nginx
2、启动NGINX Server:
systemctl start nginx
3、重新启动NGINX服务器:
systemctl restart nginx
4、重新加载NGINX服务器配置:
systemctl reload nginx
5、在启动时禁用NGINX自动启动:
systemctl disable nginx
6、在启动时启用NGINX自动启动:
systemctl enable nginx
参考:https://blog.csdn.net/cunchi4221/article/details/107477942?utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromMachineLearnPai2%7Edefault-5.control&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromMachineLearnPai2%7Edefault-5.control
最后
以上就是魁梧书包最近收集整理的关于ubuntu 下查找nginx 80 端口 及其指向位置 及nginx重启命令的全部内容,更多相关ubuntu内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复