Remove 50x.html from the nginx package

Resolves: RHEL-102547 - Remove 50x.html for nginx 1.26
This commit is contained in:
Luboš Uhliarik 2025-11-20 12:58:51 +01:00
parent a26a83067e
commit 579edcf8e3

View File

@ -411,6 +411,7 @@ 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