-
配置本地路由表(C:WindowsSystem32driversetchosts)
127.0.0.1 www.xxx-local.com
-
安装nginx (下载链接:http://nginx.org/en/download.html)
修改nginx.conf配置文件。添加如下配置即可访问本地静态资源(例如 http://www.xxx-local.com/file/2022/07/28/a41f5b0d-8f92-4816-99ba-1094a187978a.docx)location /file { alias D:/Java/file; autoindex on; }



