Loading

nginx 启动错误

场景

在Windows下 启动nginx报错: 

nginx: [error] ReadFile() "D:\php\nginx-1.14.2/conf/servers/.." failed (1: Incorrect function)

解决

因为 nginx.conf 中存在 /*

被认为是不安全的, 更改为: 

servers/*.conf;

 

posted @ 2019-04-07 19:52  烟草的香味  阅读(1026)  评论(11编辑  收藏  举报