You need to sign in or sign up before continuing.
Commit 3a9f11be authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

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

parent f75d5e34
...@@ -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