summaryrefslogtreecommitdiff
path: root/playbooks.d/webserver-nginx/share/logrotate.conf
blob: d9c07327d6525d88e828d51a4ac1c123cdb335c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/var/log/nginx/access-logs/*.log {
	daily
	missingok
	rotate -1
	notifempty
	dateext
	dateyesterday
	create 0640 ${user} ${group}
	sharedscripts
	postrotate
		nginx -s reopen >> /var/log/logrotate.log 2>&1
	endscript
}