How can I run nginx on project files on windows?

237 views Asked by At

I am trying to run NGINX locally on my windows computer.

I installed the pkg from https://nginx.org/en/download.html & un zipped it to my c drive and tried to run nginx -v and i got this err

**nginx : The term 'nginx' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1

  • nginx -v
  •   + CategoryInfo          : ObjectNotFound: (nginx:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
    

I am using html css and js and like to use nginx for static content. 

I really dont understand what I am doing wrong..
0

There are 0 answers