fdfs nginx storage node storage installation, modify the configuration file nginx
location ~/group[1-9]/M00 {
if ( $query_string ~* ^(.*)parameter=config\b|1\b(.*)$ ){
add_header Content-Disposition "attachment;";
}
root /fdfs/storage/data;
ngx_fastdfs_module;
}
Added to the file url address? Parameter = 1, To Download
Example: 192.168.100.100:8888/group1/M00/00/15/dgECTl3d4CuAqGuAADaHFkU0005.jpg?parameter=1