diff options
Diffstat (limited to 'roles/web/files')
-rw-r--r-- | roles/web/files/nginx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/roles/web/files/nginx b/roles/web/files/nginx new file mode 100644 index 0000000..da8ba47 --- /dev/null +++ b/roles/web/files/nginx @@ -0,0 +1,12 @@ +/var/log/nginx/*log { + missingok + notifempty + create 640 http root + daily + rotate 14 + sharedscripts + compress + postrotate + test ! -r /run/nginx.pid || kill -USR1 `cat /run/nginx.pid` + endscript +} |