Nginx问题
-
问题描述
nginx无法启动出现报错 "location" directive is not allowed here in D:\nginx-1.16.1/conf/:63
问题解决
- 解决方式
查看自己的 63行的location是不是写错了
问题
形如"xxxx" directive is not allowed here in D:\nginx-1.16.1/conf/:xx
都是说明在的xx行的xxxx处有错误。检查即可
nginx无法启动出现报错 "location" directive is not allowed here in D:\nginx-1.16.1/conf/:63
查看自己的 63行的location是不是写错了
形如"xxxx" directive is not allowed here in D:\nginx-1.16.1/conf/:xx
都是说明在的xx行的xxxx处有错误。检查即可