本文主要是介绍MAC Nginx配置: open() “xxx/logs/error.log“ failed (2: No such file or direc,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
(base) xxdeMacBook-Pro ~ % nginx
nginx: [emerg] open() "/usr/local/Cellar/nginx/1.21.0/logs/error.log" failed (2: No such file or directory)
这个问题就很简单,直接cd到/usr/local/Cellar/nginx/1.21.0,然后mkdir logs,然后cd /logs,touch error.log,结束。
这篇关于MAC Nginx配置: open() “xxx/logs/error.log“ failed (2: No such file or direc的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!