配置nginx静态资源路径

1.修改nginx.conf文件

server节点下location节点的 root目录修改

  location / {
            root   html;
            index  index.html index.htm;
        }
  location / {
            root   D:/MP/MP51/wwwroot;
            index  index.html index.htm;
        }
原文地址:https://www.cnblogs.com/laijie/p/5242057.html