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