nginx: [emerg] invalid number of arguments in "include" directive in E:\...\Nginx1.16.1/conf/vhosts/127.0.0.1_8901.conf:20
super
2023-12-11 18:19

使用小皮面板创建网站,Nginx重启时报错:
nginx: [emerg] invalid number of arguments in "include" directive in E:\xxx\PHPStudy\Install\Extensions\Nginx1.16.1/conf/vhosts/127.0.0.1_8901.conf:20

原因:因为网站目录的路径中有空格,把空格去掉就好了!

20 条讨论