From bfe4f2a9f49f4cee3efe259bd4de0be1b0e20891 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 5 Feb 2025 10:29:51 +0000 Subject: automatic import of nginx --- nginx.logrotate | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 nginx.logrotate (limited to 'nginx.logrotate') diff --git a/nginx.logrotate b/nginx.logrotate new file mode 100644 index 0000000..f9e12c7 --- /dev/null +++ b/nginx.logrotate @@ -0,0 +1,13 @@ +/var/log/nginx/*log { + create 0664 nginx root + daily + rotate -1 + missingok + notifempty + compress + sharedscripts + postrotate + /bin/kill -USR1 `cat /run/nginx.pid 2>/dev/null` 2>/dev/null || true + endscript +} + -- cgit v1.2.3