作者: 薄荷冰           Linux基础  |  网站架构  |  数据库  |  监控报警  |  shell系列  |  常用工具  |  常见问题


 

导航

 

[root@ke]# nginx -h  #this help
[root@ke]# nginx -t  #检查配置文件的语法
[root@ke]# nginx -T  #检查配置文件的语法并输出
[root@ke]# nginx -s   stop(快速关闭nginx) | quit(停止新连接,完成旧连接退出nginx) | reopen(重新打开日志文件) | reload(旧进程停止接送新连接,新进程处理新连接)
[root@ke]# nginx -p
[root@ke]# nginx -c
[root@ke]# nginx -g

posted on 2018-08-06 21:02  薄荷冰  阅读(304)  评论(0编辑  收藏  举报