时间:2021-07-01 10:21:17 帮助过:15人阅读
oot 219081011:50 ? 00:00:00nginx: master process **/usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf**
nobody 2190921908011:50 ? 00:00:00nginx: worker process
nobody 2191021908011:50 ? 00:00:00nginx: worker process
nobody 2191121908011:50 ? 00:00:00nginx: worker process
nobody 2191221908011:50 ? 00:00:00nginx: worker process
root 2488316057014:34 pts/200:00:00 grep nginx
[root@iZ2558pjddbZ sbin]# ^C
master后边就是nginx的安装目录
2 进入安装目录 sbin下(cd /usr/local/nginx/sbin) 执行 nginx -s reload
3另一种方法
/usr/local/nginx/sbin/nginx -t -c /usr/local/nginx/conf/nginx.conf
以上就介绍了 文章标题 Linux下如何重启nginx,包括了方面的内容,希望对PHP教程有兴趣的朋友有所帮助。