Commit b8f585b0 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

We should rotate logs daily for three months to accomodate Matomo log analyzer

parent 2def4376
...@@ -42,8 +42,8 @@ export NGINX_SERVICE ...@@ -42,8 +42,8 @@ export NGINX_SERVICE
nginx-logrotate: nginx-logrotate:
define NGINX_LOGROTATE define NGINX_LOGROTATE
/var/log/nginx/*access.log { /var/log/nginx/*access.log {
weekly daily
rotate 13 rotate 91
missingok missingok
sharedscripts sharedscripts
compress compress
...@@ -53,8 +53,8 @@ define NGINX_LOGROTATE ...@@ -53,8 +53,8 @@ define NGINX_LOGROTATE
} }
/var/log/nginx/*error.log { /var/log/nginx/*error.log {
weekly daily
rotate 13 rotate 91
missingok missingok
sharedscripts sharedscripts
compress compress
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment