摘要: 1.防止浏览器自动打开文件而不是下载文件,添加 add_header Content-Disposition "attachment;"; 举例:#所有文件都不打开 location / { add_header Content-Disposition "attachment;filename*=u 阅读全文
posted @ 2021-05-12 16:52 有梦就能实现 阅读(1587) 评论(0) 推荐(0) 编辑