D:\nginx-1.22.0>nginx -s stop
nginx: [emerg] unknown directive “锘?user” in D:\nginx-1.22.0/conf/nginx.conf:1
编码问题,还好我提前压缩了nginx的压缩包,具体哪行我没发现,复制过去就好了
D:\nginx-1.22.0>nginx -s stop nginx: [error] OpenEvent(“Global\ngx_stop_32864”) failed (2: The system cannot find the file specified)
这段的意思是服务没用启动,先启动才能停止