Resolves: RHEL-102548 - Remove 50x.html for nginx 1.26

This commit is contained in:
Luboš Uhliarik 2025-11-20 13:35:31 +01:00
parent 0c4f4b3473
commit 5e4ef9bcbf

View File

@ -41,7 +41,7 @@
Name: nginx
Epoch: 2
Version: 1.20.1
Release: 25%{?dist}
Release: 26%{?dist}
Summary: A high performance web server and reverse proxy server
# BSD License (two clause)
@ -409,6 +409,8 @@ install -p -m 0644 ./nginx.conf \
%{buildroot}%{_sysconfdir}/nginx
rm -f %{buildroot}%{_datadir}/nginx/html/index.html
rm -f %{buildroot}%{_datadir}/nginx/html/50x.html
%if 0%{?el7}
ln -s ../../doc/HTML/index.html \
%{buildroot}%{_datadir}/nginx/html/index.html
@ -629,6 +631,9 @@ fi
%changelog
* Thu Nov 20 2025 Luboš Uhliarik <luhliari@redhat.com> - 2:1.20.1-26
- Resolves: RHEL-102548 - Remove 50x.html for nginx 1.26
* Wed Nov 19 2025 Luboš Uhliarik <luhliari@redhat.com> - 2:1.20.1-25
- Resolves: RHEL-114935 - Image mode: The dir /var/lib and /var/log
is not created when updating system in image mode