MSVSphere 9.1 changes, debranding and localization added.

Symlinking test-page-background.png from system-logos-httpd package for debranded index.html
i9 changed/i9/nginx-1.20.1-13.el9.inferit
Alexey Lyubimov 1 year ago
parent 4b2138fb20
commit 8ae57c3fb7

@ -2,12 +2,12 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head> <head>
<title>The page is not found</title> <title>Страница не найдена</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<style type="text/css"> <style type="text/css">
/*<![CDATA[*/ /*<![CDATA[*/
body { body {
background-color: #fff; background-color: #8ec07c;
color: #000; color: #000;
font-size: 0.9em; font-size: 0.9em;
font-family: sans-serif,helvetica; font-family: sans-serif,helvetica;
@ -15,19 +15,19 @@
padding: 0; padding: 0;
} }
:link { :link {
color: #c00; color: #0B2335;
} }
:visited { :visited {
color: #c00; color: #0B2335;
} }
a:hover { a:hover {
color: #f50; color: #0069DA;
} }
h1 { h1 {
text-align: center; text-align: center;
margin: 0; margin: 0;
padding: 0.6em 2em 0.4em; padding: 0.6em 2em 0.4em;
background-color: #900; background-color: #1F3D48;
color: #fff; color: #fff;
font-weight: normal; font-weight: normal;
font-size: 1.75em; font-size: 1.75em;
@ -39,7 +39,7 @@
} }
h2 { h2 {
text-align: center; text-align: center;
background-color: #900; background-color: #1F3D48;
font-size: 1.1em; font-size: 1.1em;
font-weight: bold; font-weight: bold;
color: #fff; color: #fff;
@ -64,7 +64,7 @@
} }
img { img {
border: 2px solid #fff; border: 2px solid #FAF5F5;
padding: 2px; padding: 2px;
margin: 2px; margin: 2px;
} }
@ -80,27 +80,27 @@
</head> </head>
<body> <body>
<h1><strong>nginx error!</strong></h1> <h1><strong>nginx, ошибка!</strong></h1>
<div class="content"> <div class="content">
<h3>The page you are looking for is not found.</h3> <h3>Страница, которую вы ищете, не найдена.</h3>
<div class="alert"> <div class="alert">
<h2>Website Administrator</h2> <h2>Администратор Web-сайта</h2>
<div class="content"> <div class="content">
<p>Something has triggered missing webpage on your <p>Что-то привело к отсутствию веб-страницы на вашем
website. This is the default 404 error page for сайте. Это страница ошибки 404 по умолчанию для
<strong>nginx</strong> that is distributed with <strong>nginx</strong> которая распространяется с
Red Hat Enterprise Linux. It is located МСВСфера. Она находится
<tt>/usr/share/nginx/html/404.html</tt></p> <tt>/usr/share/nginx/html/404.html</tt></p>
<p>You should customize this error page for your own <p>Вы должны настроить эту страницу ошибки для своего
site or edit the <tt>error_page</tt> directive in сайта или отредактировать директиву <tt>error_page</tt> в
the <strong>nginx</strong> configuration file файле конфигурации <strong>nginx</strong>
<tt>/etc/nginx/nginx.conf</tt>.</p> <tt>/etc/nginx/nginx.conf</tt>.</p>
<p>For information on Red Hat Enterprise Linux, please visit the <a href="http://www.redhat.com/">Red Hat, Inc. website</a>. The documentation for Red Hat Enterprise Linux is <a href="http://www.redhat.com/docs/manuals/enterprise/">available on the Red Hat, Inc. website</a>.</p> <p>Для получения информации о МСВСфера, пожалуйста посетите веб-сайт <a href="https://www.msvsphere.ru/">Web-сайт ООО "НЦПР"</a>. Документация по МСВСфера <a href="https://www.msvsphere.ru/docs/manuals/inferitos/">доступна на веб-сайте ООО "НЦПР"</a>.</p>
</div> </div>
</div> </div>
@ -110,10 +110,10 @@
src="nginx-logo.png" src="nginx-logo.png"
alt="[ Powered by nginx ]" alt="[ Powered by nginx ]"
width="121" height="32" /></a> width="121" height="32" /></a>
<a href="http://www.redhat.com/"><img <a href="https://www.msvsphere.ru/"><img
src="poweredby.png" src="icons/poweredby.png"
alt="[ Powered by Red Hat Enterprise Linux ]" alt="[ Powered by MSVSphere ]"
width="88" height="31" /></a> width="294" height="31" /></a>
</div> </div>
</div> </div>
</body> </body>

@ -2,12 +2,12 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head> <head>
<title>The page is temporarily unavailable</title> <title>Страница временно недоступна</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<style type="text/css"> <style type="text/css">
/*<![CDATA[*/ /*<![CDATA[*/
body { body {
background-color: #fff; background-color: #8ec07c;
color: #000; color: #000;
font-size: 0.9em; font-size: 0.9em;
font-family: sans-serif,helvetica; font-family: sans-serif,helvetica;
@ -15,19 +15,19 @@
padding: 0; padding: 0;
} }
:link { :link {
color: #c00; color: #0B2335;
} }
:visited { :visited {
color: #c00; color: #0B2335;
} }
a:hover { a:hover {
color: #f50; color: #0069DA;
} }
h1 { h1 {
text-align: center; text-align: center;
margin: 0; margin: 0;
padding: 0.6em 2em 0.4em; padding: 0.6em 2em 0.4em;
background-color: #900; background-color: #1F3D48;
color: #fff; color: #fff;
font-weight: normal; font-weight: normal;
font-size: 1.75em; font-size: 1.75em;
@ -39,7 +39,7 @@
} }
h2 { h2 {
text-align: center; text-align: center;
background-color: #900; background-color: #1F3D48;
font-size: 1.1em; font-size: 1.1em;
font-weight: bold; font-weight: bold;
color: #fff; color: #fff;
@ -80,27 +80,27 @@
</head> </head>
<body> <body>
<h1><strong>nginx error!</strong></h1> <h1><strong>nginx ошибка!</strong></h1>
<div class="content"> <div class="content">
<h3>The page you are looking for is temporarily unavailable. Please try again later.</h3> <h3>Страница, которую вы ищете, временно недоступна. Пожалуйста, повторите попытку позже.</h3>
<div class="alert"> <div class="alert">
<h2>Website Administrator</h2> <h2>Администратор Web-сайта</h2>
<div class="content"> <div class="content">
<p>Something has triggered missing webpage on your <p>Что-то привело к отсутствию веб-страницы на вашем
website. This is the default error page for сайте. Это страница ошибок по умолчанию для
<strong>nginx</strong> that is distributed with <strong>nginx</strong>, которая распространяется с
Red Hat Enterprise Linux. It is located МСВСфера. Она находится
<tt>/usr/share/nginx/html/50x.html</tt></p> <tt>/usr/share/nginx/html/50x.html</tt></p>
<p>You should customize this error page for your own <p>Вы должны настроить эту страницу ошибки для своего
site or edit the <tt>error_page</tt> directive in сайта или отредактировать директиву <tt>error_page</tt> в
the <strong>nginx</strong> configuration file файле конфигурации <strong>nginx</strong>
<tt>/etc/nginx/nginx.conf</tt>.</p> <tt>/etc/nginx/nginx.conf</tt>.</p>
<p>For information on Red Hat Enterprise Linux, please visit the <a href="http://www.redhat.com/">Red Hat, Inc. website</a>. The documentation for Red Hat Enterprise Linux is <a href="http://www.redhat.com/docs/manuals/enterprise/">available on the Red Hat, Inc. website</a>.</p> <p>Для получения информации о МСВСфера, пожалуйста посетите веб-сайт <a href="https://www.msvsphere.ru/">Web-сайт ООО "НЦПР"</a>. Документация по МСВСфера <a href="https://www.msvsphere.ru/docs/manuals/inferitos/">доступна на веб-сайте ООО "НЦПР"</a>.</p>
</div> </div>
</div> </div>
@ -110,10 +110,10 @@
src="nginx-logo.png" src="nginx-logo.png"
alt="[ Powered by nginx ]" alt="[ Powered by nginx ]"
width="121" height="32" /></a> width="121" height="32" /></a>
<a href="http://www.redhat.com/"><img <a href="https://www.msvsphere.ru/"><img
src="poweredby.png" src="icons/poweredby.png"
alt="[ Powered by Red Hat Enterprise Linux ]" alt="[ Powered by MSVSphere ]"
width="88" height="31" /></a> width="294" height="31" /></a>
</div> </div>
</div> </div>
</body> </body>

@ -41,7 +41,7 @@
Name: nginx Name: nginx
Epoch: 1 Epoch: 1
Version: 1.20.1 Version: 1.20.1
Release: 13%{?dist} Release: 13%{?dist}.inferit
Summary: A high performance web server and reverse proxy server Summary: A high performance web server and reverse proxy server
# BSD License (two clause) # BSD License (two clause)
@ -395,6 +395,9 @@ ln -s ../../doc/HTML/en-US \
%else %else
ln -s ../../testpage/index.html \ ln -s ../../testpage/index.html \
%{buildroot}%{_datadir}/nginx/html/index.html %{buildroot}%{_datadir}/nginx/html/index.html
pushd $RPM_BUILD_ROOT%{_datadir}/nginx/html/
ln -s ../../pixmaps/test-page-background.png .
popd
%endif %endif
install -p -m 0644 %{SOURCE102} \ install -p -m 0644 %{SOURCE102} \
%{buildroot}%{_datadir}/nginx/html %{buildroot}%{_datadir}/nginx/html
@ -600,6 +603,11 @@ fi
%changelog %changelog
* Mon Apr 03 2023 Alexey Lyubimov <a.lyubimov@msvsphere.ru> - 1:1.20.1-13.inferit
- MSVSphere 9.1 changes, debranding and localization added.
- Symlinking test-page-background.png from system-logos-httpd package for
debranded index.html
* Wed Mar 15 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 1.20.1-13 * Wed Mar 15 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 1.20.1-13
- Rebuilt for MSVSphere 9.1. - Rebuilt for MSVSphere 9.1.

Loading…
Cancel
Save