nginx mac上常用命令

  • 启动命令: sudo nginx
  • 快速停止命令 sudo nginx -s stop
  • 平稳退出命令:sudo nginx -s quit
  • 重新加载配置文件命令:sudo nginx -s reload (当配置文件修改后,可执行此命令)
  • 文件修改后记得保存 source {修改文件的绝对路径}

Frank
21 声望0 粉丝

Good judgment comes from experience, and experience comes from bad judgment