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

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

@ -41,7 +41,7 @@
Name: nginx
Epoch: 1
Version: 1.20.1
Release: 13%{?dist}
Release: 13%{?dist}.inferit
Summary: A high performance web server and reverse proxy server
# BSD License (two clause)
@ -395,6 +395,9 @@ ln -s ../../doc/HTML/en-US \
%else
ln -s ../../testpage/index.html \
%{buildroot}%{_datadir}/nginx/html/index.html
pushd $RPM_BUILD_ROOT%{_datadir}/nginx/html/
ln -s ../../pixmaps/test-page-background.png .
popd
%endif
install -p -m 0644 %{SOURCE102} \
%{buildroot}%{_datadir}/nginx/html
@ -600,6 +603,11 @@ fi
%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
- Rebuilt for MSVSphere 9.1.

Loading…
Cancel
Save