From 3a3b8a583bdfcfc8e5e18707d12e09467d2e8b74 Mon Sep 17 00:00:00 2001 From: Funda Wang Date: Thu, 12 Sep 2024 08:57:31 +0800 Subject: [PATCH] disable rotate counts from logrotate config --- nginx.logrotate | 2 +- nginx.spec | 9 ++++++--- nginx.yaml | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/nginx.logrotate b/nginx.logrotate index 353da6e..f9e12c7 100644 --- a/nginx.logrotate +++ b/nginx.logrotate @@ -1,7 +1,7 @@ /var/log/nginx/*log { create 0664 nginx root daily - rotate 10 + rotate -1 missingok notifempty compress diff --git a/nginx.spec b/nginx.spec index 1c5948a..dd3ab00 100644 --- a/nginx.spec +++ b/nginx.spec @@ -17,10 +17,10 @@ Name: nginx Epoch: 1 Version: 1.21.5 -Release: 5 +Release: 6 Summary: A HTTP server, reverse proxy and mail proxy server -License: BSD -URL: http://nginx.org/ +License: BSD-2-Clause +URL: https://nginx.org/ Source0: https://nginx.org/download/nginx-%{version}.tar.gz Source10: nginx.service @@ -388,6 +388,9 @@ fi %changelog +* Thu Sep 12 2024 Funda Wang - 1:1.21.5-6 +- disable rotate counts from logrotate config + * Thu Aug 15 2024 Funda Wang - 1:1.21.5-5 - fix CVE-2024-7347 diff --git a/nginx.yaml b/nginx.yaml index e0b9c44..81f8793 100644 --- a/nginx.yaml +++ b/nginx.yaml @@ -1,4 +1,4 @@ version_control: github src_repo: nginx/nginx tag_prefix: release- -seperator: . +separator: . -- Gitee