假设在windows上输入如下命令:
E:mywamppache2.in>E:mywamp ginx-1.6. ginx.exe -s reload
那么输入结果就是这样的:
nginx: [alert] could not open error log file: CreateFile() "logs/error.log" failed (: The system cannot find the path specified) // :: [emerg] #5196: CreateFile() "E:mywamppache2.2in/conf/nginx.conf" failed (3: The system cannot find the path specified)
解决方法就是首先cd到目录E:mywamppache2.2in>E:mywamp ginx-1.6.2,然后运行nginx -s reload,感觉这样太麻烦了,求教有没有更简单的方法。