mac nginx启动
时间: 2023-08-31 20:08:04 浏览: 104
回答: 若要在mac上启动nginx,可以执行以下命令: /usr/local/Cellar/nginx/1.17.0/bin/nginx -c /usr/local/etc/nginx/nginx.conf。如果成功访问localhost:8080,说明nginx已经安装和启动成功了。 如果要停止nginx,可以在终端中输入ps -ef|grep nginx来查看nginx的进程信息,并使用相应的进程ID来停止nginx进程。请注意,路径是否与您的安装路径相匹配。<em>1</em><em>2</em><em>3</em>
#### 引用[.reference_title]
- *1* *2* [mac nginx安装、启动、简单命令](https://blog.csdn.net/jianghaha2011/article/details/117527824)[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^chatsearchT3_1"}} ] [.reference_item]
- *3* [Nginx - mac - 启动](https://blog.csdn.net/hutuyaoniexi/article/details/126639227)[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^chatsearchT3_1"}} ] [.reference_item]
[ .reference_list ]
阅读全文