123: The filename, directory name, or volume label syntax is incorrect今天玩nginx的时候报错

今天在win下玩nginx的时候 提示500错误

看了下nginx的logs  提示

123: The filename, directory name, or volume label syntax is incorrect

然后 发现别的网站都没问题  今天加的网站就出问题了

原来别的网站目录没有那么深 也就是3层

今天用tp5配置的多了一层public  查了查 是反斜杠的问题

把所有win下的改成linux下的斜杠即可

  root   "G:/phpStudy/PHPTutorial/WWW/newbc/public";

猜你喜欢

转载自www.cnblogs.com/baker95935/p/11915530.html