James's BLOG
NGINX get filename and remove prefix
location ~ "^/downloads/files/[a-zA-Z0-9]{8}\-(.*\..*)$" {
add_header Content-disposition 'attachment; filename="$1"';
}
較新的文章
較舊的文章
首頁
查看行動版
訂閱:
文章 (Atom)