nginx -s reload 导致的错误
C:\pleiades\nginx-1.16.1_3\nginx-1.16.1>nginx -s reload nginx: [error] CreateFile() "C:\pleiades\nginx-1.16.1_3\nginx-1.16.1/logs/nginx.pid" failed (2: The system cannot find the file specified)
原因是 nginx没起来,得先双点nginx启动,修改nginx.conf再平滑启动,否则就出这个错误了。
启动后再重载就好了。
C:\pleiades\nginx-1.16.1_3\nginx-1.16.1>nginx -s reload C:\pleiades\nginx-1.16.1_3\nginx-1.16.1>
--END-- 2020-01-07 10:02