summarylogtreecommitdiffstats
path: root/nginx.logrotate
diff options
context:
space:
mode:
authorpetRUShka2015-07-01 17:33:06 +0300
committerpetRUShka2015-07-01 17:33:06 +0300
commit2b0499a26ca670ecb62a37726e906019c65b8b3f (patch)
tree55511ef80458a6748516fb5ba62326e07401c6ce /nginx.logrotate
downloadaur-nginx-passenger-mod-auth-kerb-git.tar.gz
Initial import
Diffstat (limited to 'nginx.logrotate')
-rw-r--r--nginx.logrotate7
1 files changed, 7 insertions, 0 deletions
diff --git a/nginx.logrotate b/nginx.logrotate
new file mode 100644
index 000000000000..31499544e6af
--- /dev/null
+++ b/nginx.logrotate
@@ -0,0 +1,7 @@
+/var/log/nginx/*log {
+ create 640 http log
+ compress
+ postrotate
+ nginx -s reopen
+ endscript
+}