很简单 只要这么配

        location /淘宝/ {
            root   D:\Desktop; #vue项目的打包后的dist
			index  index.html index.htm;
		}
		location /素材/ {
            root   D:\Desktop; #vue项目的打包后的dist
			index  index.html index.htm;
		}



        或者(未测试)
        location /taotao {
			  alias C:/D/Project/taotao;
		}

目录结构

Logo

前往低代码交流专区

更多推荐