1、fastdfs安装和配置 https://blog.csdn.net/hy245120020/article/details/78658081

2、使用nginx代理fastdfs以及图片裁剪(fastdfs-nginxmodule)

   server { 
             listen       8888; 

             location / {
               root   /home/caozhiyuan/fdfsstore/fdfs_storage/data;
             }

             location /group1/M00 {
               root /home/caozhiyuan/fdfsstore/fdfs_storage/data;
               ngx_fastdfs_module;                    
            }   
            
            location ~* /group1/M00/(.*?)_([0-9]+)X([0-9]+)\.(jpeg|jpg|gif|png)$ { 
              root /home/caozhiyuan/fdfsstore/fdfs_storage/data;        
              set $h $2;
              set $w $3;
              rewrite /group1/M00/(.*?)_([0-9]+)X([0-9]+)\.(jpeg|jpg|gif|png)$ /$1.$4 break;
              image_filter_buffer 10M;
              image_filter resize $h $w;                  
           }         
        }

  

3、.net fastdfs客户端使用(https://github.com/caozhiyuan/FastDFSNetCore)

相关文章:

  • 2022-12-23
  • 2021-06-29
  • 2022-12-23
  • 2021-11-05
  • 2022-12-23
猜你喜欢
  • 2021-08-18
  • 2022-01-24
  • 2021-09-09
  • 2022-12-23
  • 2021-06-24
  • 2021-06-23
相关资源
相似解决方案