diff --git a/nginx.logrotate b/nginx.logrotate index 353da6e80ccf7a6eba0ef98e8a3aee603e3ba43f..f9e12c752295e01d49678438f525b0276848ab7d 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 61a7e8725e7562f9ccbb7ffff0d555e9549873e3..2892db69bc3062ee3a6931040bdd2b7ff5984eb3 100644 --- a/nginx.spec +++ b/nginx.spec @@ -17,10 +17,10 @@ Name: nginx Epoch: 1 Version: 1.21.5 -Release: 7 +Release: 8 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 @@ -391,6 +391,9 @@ fi %{_mandir}/man8/nginx.8* %changelog +* Thu Sep 12 2024 Funda Wang - 1:1.21.5-8 +- disable rotate counts by default from logrotate config + * Thu Aug 15 2024 Funda Wang - 1:1.21.5-7 - fix CVE-2024-7347 diff --git a/nginx.yaml b/nginx.yaml index e0b9c440cf6d5ef39ae8976a2ecc0f1490eb26ee..81f8793c3560dc7ea308b8b7aa16777f805797f8 100644 --- a/nginx.yaml +++ b/nginx.yaml @@ -1,4 +1,4 @@ version_control: github src_repo: nginx/nginx tag_prefix: release- -seperator: . +separator: .