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