Nginx常用命令 帮助 (^_^) nginx -h 停止、退出、重启、重新载入配置等(stop, quit, reopen, reload) 使用s选项,分别带上相应的操作 nginx -s reload 设置配置文件路径 默认为:/etc/nginx/nginx.conf (使用Ubuntu官方包安装)。 nginx -c <filename>