ubuntu 下查找nginx 80 端口 及其指向位置  及nginx重启命令

 

注:

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


版权声明:本文为xuw_xy原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。