https://www.jianshu.com/p/188f8ae8072b
map $time_iso8601 $logdate {
'~^(?<ymd>\d{4}-\d{2}-\d{2})' $ymd;
default 'date-not-found';
}
喜欢
评论
分享