部署静态页面

/conf/nginx.conf

    server {
       listen       8000;
    #    listen       somename:8080;
       server_name  localhost;
 
       location / {
           root   D:/thumb;
           index  index.html index.htm;
       }
    }

执行 .\nginx -t -c .\conf\nginx.conf 保存配置