nginx服务的启动、停止等操作

 1.启动nginx服务程序:

shell# nginx

 2.重载nginx配置文件:

shell# nginx -s reload

 3.平滑停止nginx进程:

shell# nginx -s quit

 4.更替nginx日志文件:

shell# nginx -s reopen

猜你喜欢

转载自www.cnblogs.com/hanxiaomeng/p/12483888.html