nginx 启动报错
来源:7-5 静态资源服务器 nginx 启动
fya0122
2020-04-22
装了一晚上的upload.config,不知道为啥启动nginx总是报错
luzhengdeMacBook-Pro:~ luzheng$ sudo vim /Users/sam/upload/upload.conf luzhengdeMacBook-Pro:~ luzheng$ sudo nginx nginx: [emerg] open() “/Users/sam/upload/upload.conf” failed (2: No such file or directory) in /usr/local/etc/nginx/nginx.conf:116 luzhengdeMacBook-Pro:~ luzheng$ cd /Users/sam/upload/upload.conf -bash: cd: /Users/sam/upload/upload.conf: No such file or directory luzhengdeMacBook-Pro:~ luzheng$
写回答
1回答
-
扬_灵
2020-04-22
同学你好,/Users/sam/upload/upload.conf这个文件是老师本地关于nginx的配置,需要自己创建的,
022020-04-22
相似问题