标签:base strong $1 rewrite str upload $2 链接 tps
2019-12-09云端CDN rewrite规则:^/.{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链接:
https://x.ojgoy.cn/MTYwMA16001600/10_16/1101965940.gif/base64?0.3907896284177985
https://x.ojgoy.cn/MTYwMA16001600/10_16/1101965940.gif
https://x.ojgoy.cn/MTYwMA16001600/10_16/1101965940gif
https://x.ojgoy.cn/MTYwMA16001600/1016/1101965940gif
https://x.ojgoy.cn/MTYwMA16001600/1016/1101965940.gif
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
标签:base strong $1 rewrite str upload $2 链接 tps
原文地址:https://blog.51cto.com/wujianwei/2457149