I am new to Nginx i started a crash course and i am following the steps but i am stuck at this part and i couldn't find any resources to help me.
http {
server {
listen 8080;
root C:\Users\Test\Desktop\test;
}
}
events {}
Before editing the nginx.conf file everything is fine i can connect to localhost and see nginx welcome html page, but when i delete the configurations i can't connect to it, i tried localhost:8080 too.