introduce nginx role

This commit is contained in:
Matt Jia 2017-04-27 13:59:10 +10:00 committed by Ralph Bean
parent 88e9560a53
commit 2ab4b9be13
10 changed files with 314 additions and 0 deletions

View file

@ -0,0 +1,13 @@
/var/log/nginx/*.log {
daily
missingok
rotate 30
compress
delaycompress
notifempty
create 640 nginx adm
sharedscripts
postrotate
[ -f /var/run/nginx.pid ] && kill -USR1 `cat /var/run/nginx.pid`
endscript
}