Instalé nginx en Windows 10. Después de la instalación, si navego a http://locahost en un navegador, veo la página de inicio de nginx. Sin embargo, cuando trabajo con un archivo nginx.conf, intento ejecutar nginx -t pero aparece el siguiente error:
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 -t + ~~~~~ + CategoryInfo : ObjectNotFound: (nginx:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundExceptionIntenté ver si hay un cambio de ruta de Windows que deba hacer, pero no encontré nada más que diga que deba hacerse. Intenté ejecutar este comando como administrador o usuario no raíz, pero sigo recibiendo el mismo mensaje. Cualquier consejo sería apreciado.