summarylogtreecommitdiffstats
path: root/nginx.logrotate
blob: e4dddfc528ee46041dbe1435eb11b1f68e39b445 (plain)
1
2
3
4
5
6
7
8
	/var/log/nginx/*log {
		daily
		create 640 http log
		compress
		postrotate
			[ ! -f /run/nginx.pid ] || kill -USR1 `cat /run/nginx.pid`
		endscript
	}