摘要:
nginx编译在/usr/local/nginx,现在要把nginx迁移到/home下,加参数运行问题如下 ./nginx -c /home/nginx/conf/nginx.conf nginx: [alert] could not open error log file: open() “/us 阅读全文
posted @ 2021-12-28 09:19
疯靡
阅读(880)
评论(0)
推荐(0)
摘要:
[emerg] unknown directive "" in usr/nginx/conf/nginx.conf:3 conf文件被记事本编辑过,保存成了含[BOM] 。所以才报错的。 解决办法使用editplus等其它非记事本另存为 UTF-8不含BOM的文件就可以了。 阅读全文
posted @ 2021-12-28 09:18
疯靡
阅读(88)
评论(0)
推荐(0)

浙公网安备 33010602011771号