重启nginx 命令
时间: 2023-08-27 13:21:07 浏览: 141
要重启nginx服务,你可以使用以下命令:
方法一:进入nginx安装目录的sbin文件夹下,运行命令"./nginx -s reload"。这个命令会重启nginx服务,同时还会检验nginx的配置文件是否正确。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [nginx重启命令](https://blog.csdn.net/qq_40006446/article/details/82746612)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
- *2* [命令行启动nginx、停止nginx 、重启nginx详细教程](https://blog.csdn.net/m0_37896739/article/details/126544463)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文