1.下载windows下的nginx:
http://nginx.org/en/docs/windows.html
http://nginx.org/en/download.html
2.解压缩
3.在目录下启动nginx
start nginx
或者
nginx
4.关闭nginx
nginx -s stop fast shutdown
nginx -s quit graceful shutdown
nginx -s reload changing configuration, starting new worker processes with a new configuration, graceful shutdown of old worker processes
nginx -s reopen re-opening log files
5.访问nginx
浏览器输入:localhost