首页 > TAG信息列表 > logdate

nginx日志按日期存储

http {     include       mime.types;     default_type  application/octet-stream;     map $time_iso8601 $logdate {         '~^(?<ymd>\d{4}-\d{2}-\d{2})' $ymd;         default    'date-not-found';     }     ac