Resolves: #2150932 - No logrotating nginx logs from nginx:1.22
This commit is contained in:
parent
f519245456
commit
93febee432
@ -1,4 +1,5 @@
|
||||
/var/log/nginx/*log {
|
||||
/var/log/nginx/*.log {
|
||||
create 0640 nginx root
|
||||
daily
|
||||
rotate 10
|
||||
missingok
|
||||
|
@ -56,7 +56,7 @@
|
||||
Name: nginx
|
||||
Epoch: 1
|
||||
Version: 1.22.1
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
|
||||
Summary: A high performance web server and reverse proxy server
|
||||
# BSD License (two clause)
|
||||
@ -558,7 +558,9 @@ fi
|
||||
%config(noreplace) %{_sysconfdir}/logrotate.d/nginx
|
||||
%attr(770,%{nginx_user},root) %dir %{_localstatedir}/lib/nginx
|
||||
%attr(770,%{nginx_user},root) %dir %{_localstatedir}/lib/nginx/tmp
|
||||
%dir %{_localstatedir}/log/nginx
|
||||
%attr(711,root,root) %dir %{_localstatedir}/log/nginx
|
||||
%ghost %attr(640,%{nginx_user},root) %{_localstatedir}/log/nginx/access.log
|
||||
%ghost %attr(640,%{nginx_user},root) %{_localstatedir}/log/nginx/error.log
|
||||
%dir %{nginx_moduledir}
|
||||
%dir %{nginx_moduleconfdir}
|
||||
|
||||
@ -609,6 +611,9 @@ fi
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Dec 18 2022 Luboš Uhliarik <luhliari@redhat.com> - 1:1.22.1-3
|
||||
- Resolves: #2150932 - No logrotating nginx logs from nginx:1.22
|
||||
|
||||
* Thu Dec 01 2022 Neal Gompa <ngompa@datto.com> - 1:1.22.1-2
|
||||
- Require pcre2-devel instead of pcre-devel in -mod-devel subpackage
|
||||
Resolves: rhbz#2149965
|
||||
|
Loading…
Reference in New Issue
Block a user