From 256de60572f5e41911117b11839a9d92f0f162c4 Mon Sep 17 00:00:00 2001 From: ajacoutot <> Date: Fri, 21 Mar 2014 13:22:09 +0000 Subject: [PATCH] Add nginx default log files to the rotation. ok jung@ stephan@ tweaks and ok sthen@ --- src/etc/newsyslog.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/etc/newsyslog.conf b/src/etc/newsyslog.conf index e602a3f8..78d5633a 100644 --- a/src/etc/newsyslog.conf +++ b/src/etc/newsyslog.conf @@ -1,4 +1,4 @@ -# $OpenBSD: newsyslog.conf,v 1.30 2014/03/17 18:04:07 sthen Exp $ +# $OpenBSD: newsyslog.conf,v 1.31 2014/03/21 13:22:09 ajacoutot Exp $ # # configuration file for newsyslog # @@ -14,3 +14,5 @@ /var/log/wtmp 644 7 * $W6D4 B /var/log/xferlog 640 7 250 * Z /var/log/pflog 600 3 250 * ZB "pkill -HUP -u root -U root -t - -x pflogd" +/var/www/logs/access.log 644 4 * $W0 Z /var/run/nginx.pid SIGUSR1 +/var/www/logs/error.log 644 7 250 * Z /var/run/nginx.pid SIGUSR1