proxy – Unable to run NGINX server in windows terminal

I can’t able to run nginx server in my windows machine. My nginx folder is in C folder and also set up the path in env variable. At first I had error in nginx.conf file, but I resolved the error and started the server it servers in port 8080. Then I don’t know how to stop the nginx. So, I shut down the system and started again than I tried again to start nginx then error shows like this.

PS C:\> nginx nginx: [alert] could not open error log file: CreateFile() "logs/error.log" failed (3: The system cannot find the path specified) 2025/01/14 20:43:17 [emerg] 20044#36596: CreateFile() "C:\/conf/nginx.conf" failed (3: The system cannot find the path specified)

I want to run my nginx server in my windows machine

Read more here: Source link