配置nginx静态资源路径时间:2023-03-09 00:58:54 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; }