摘要: 按日期: 一: if ($time_iso8601 ~ "(\d{4}-\d{2}-\d{2})") { set $day $1; } access_log logs/host.access_$day.log combined; 结果:host.access_2020-08-27.log 二:if 阅读全文
posted @ 2020-08-27 09:06 winss 阅读(4436) 评论(0) 推荐(1)