启动和重启

进入sbin目录,运行nginx文件即可。

重启(不中断进程,重新载入配置文件)

nginx -s reload -c nginx.conf