summaryrefslogtreecommitdiff
path: root/network/nginx/nginx.logrotate
diff options
context:
space:
mode:
authorMax Miorim <miorimmax@gmail.com>2010-06-14 01:35:07 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-06-14 03:18:19 -0500
commit92c7ecbb2f68716e7003e1f4e87d3199775f40ed (patch)
tree0c56eb31e24035f2f8ca837f3e7b9d93012da4c7 /network/nginx/nginx.logrotate
parentbe790d7cf8685474b215434e8a65a650a05e3e68 (diff)
downloadslackbuilds-92c7ecbb2f68716e7003e1f4e87d3199775f40ed.tar.gz
network/nginx: Added (http server and reverse proxy)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/nginx/nginx.logrotate')
-rw-r--r--network/nginx/nginx.logrotate11
1 files changed, 11 insertions, 0 deletions
diff --git a/network/nginx/nginx.logrotate b/network/nginx/nginx.logrotate
new file mode 100644
index 0000000000..d95c808449
--- /dev/null
+++ b/network/nginx/nginx.logrotate
@@ -0,0 +1,11 @@
+/var/log/nginx/*_log {
+ rotate 10
+ notifempty
+ size=5M
+ compress
+ delaycompress
+ sharedscripts
+ postrotate
+ /etc/rc.d/rc.nginx rotate
+ endscript
+}