CDN线上rewrite规则

2019-12-09云端cdn rewrite规则:

创新互联一直秉承“诚信做人,踏实做事”的原则,不欺瞒客户,是我们最起码的底线! 以服务为基础,以质量求生存,以技术求发展,成交一个客户多一个朋友!为您提供做网站、成都网站设计、成都网页设计、小程序定制开发、成都网站开发、成都网站制作、成都软件开发、重庆App定制开发是成都本地专业的网站建设和网站设计公司,等你一起来见证!

^/.{6}[0-9]{8}/([0-9]{2})_([0-9]{2})/([0-9]+)(png|jpeg|jpg|gif)(.*)$ /uploads/picture/2016/$1/$2/$3.$4$5
^/.{6}[0-9]{8}/([0-9]{2})_([0-9]{2})/(.*)$ /uploads/picture/2016/$1/$2/$3
^/[a-zA-Z0-9]+/([0-9][0-9])([0-9][0-9])/([0-9]+)(png|jpeg|jpg|gif)(.*)$ /uploads/picture/2016/$1/$2/$3.$4$5
^/.{6}[0-9]+/([0-9]{2})([0-9]{2})/(.*)$ /uploads/picture/2016/$1/$2/$3
^/.{6}[0-9]{4}/(.*)$ /uploads/picture/2016/$1
^/.{6}[0-9]{4}[0-9]{8}/(.*)$ /uploads/picture/$1
^/[0-9]+\.([0-9]+)\.([0-9]+)\.([0-9]+)\.(.*)$ /uploads/picture/$1/$2/$3/$4
^/[0-9]+/([0-9][0-9])([0-9][0-9])/(.*)$ /uploads/picture/2016/$1/$2/$3

访问的url链接:

/upload/otherpica41/8407.jpg/base64?0.3907896284177985
/upload/otherpica41/8407.jpg
https://x.ojgoy.cn/MTYwMA16001600/10_16/1101965940gif
https://x.ojgoy.cn/MTYwMA16001600/1016/1101965940gif
/upload/otherpica41/8460.jpg

2019-12-09融合云rewrite规则:

^/[a-zA-Z0-9]+/([0-9][0-9])([0-9][0-9])/([0-9]+)(png|jpeg|jpg|gif)(.*)$ /uploads/picture/2016/$1/$2/$3.$4$5
^/.{6}[0-9]+/([0-9]{2})([0-9]{2})/(.*)$ /uploads/picture/2016/$1/$2/$3
^/.{6}[0-9]{4}/(.*)$ /uploads/picture/2016/$1
^/.{6}[0-9]{4}[0-9]{8}/(.*)$ /uploads/picture/$1
^/[0-9]+\.([0-9]+)\.([0-9]+)\.([0-9]+)\.(.*)$ /uploads/picture/$1/$2/$3/$4
^/[0-9]+/([0-9][0-9])([0-9][0-9])/(.*)$ /uploads/picture/2016/$1/$2/$3

网站名称:CDN线上rewrite规则
分享地址:http://myzitong.com/article/ispshd.html