1. 程式人生 > 其它 >[error] OpenEvent(“Global\ngx_reload_11812“) failed (2: The system cannot find the file specified

[error] OpenEvent(“Global\ngx_reload_11812“) failed (2: The system cannot find the file specified

技術標籤:nginx

[error] OpenEvent(“Global\ngx_reload_11812“) failed (2: The system cannot find the file specified

>  D:\soft\codeProcess\nginx-1.18.0>nginx -s reload nginx: [emerg]
> unexpected "}" in D:\soft\codeProcess\nginx-1.18.0/conf/nginx.conf:60

解決方法: 這個問題是nginx的括號前面沒有打上 ;

D:\soft\codeProcess\nginx-1.18.0>nginx -s reload nginx: [error]

OpenEvent(“Global\ngx_reload_23428”) failed (2: The system cannot find
the file specified)

解決方法: nignx沒有啟動,直接reload報錯