nginx 启动错误

场景

在Windows下 启动nginx报错: 

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

解决

因为 nginx.conf 中存在 /*

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

servers/*.conf;

猜你喜欢

转载自www.cnblogs.com/hujingnb/p/10666701.html