nginx配置:
server {
listen 8123;
server_name localhost;
charset utf-8;
root F:\myftp;
location / {
default_type 'application/octet-stream';
add_header Content-disposition "attachment";
}
}
然后在浏览器里打开文件就可以了,在IE/Firefox/Chrome浏览器里测试通过。
最新评论
这是码农需要的,小白就算了
希望可以安装!
没有了 怎么办呀
很变态热点