假設(shè)在windows上輸入如下命令:
E:mywamppache2.in>E:mywamp ginx-1.6. ginx.exe -s reload
那么輸入結(jié)果就是這樣的:
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,然后運(yùn)行nginx -s reload,感覺這樣太麻煩了,求教有沒有更簡(jiǎn)單的方法。