changeset 2962:10a66e00b46f

Linux packages: specified priority for Amazon Linux. This makes nginx.org repositories preferred when installing nginx packages. Currently, both Amazon Linux 2 and 2023 repositories have a priority of 10, so any number lower than that makes our packages preferred.
author Konstantin Pavlov <thresh@nginx.com>
date Mon, 27 Mar 2023 16:25:44 -0700
parents d554555a9359
children c7bf5c9a1174
files xml/en/linux_packages.xml xml/ru/linux_packages.xml
diffstat 2 files changed, 10 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/linux_packages.xml
+++ b/xml/en/linux_packages.xml
@@ -7,7 +7,7 @@
 <article name="nginx: Linux packages"
          link="/en/linux_packages.html"
          lang="en"
-         rev="83">
+         rev="84">
 
 <section name="Supported distributions and versions" id="distributions">
 
@@ -548,6 +548,7 @@ gpgcheck=1
 enabled=1
 gpgkey=https://nginx.org/keys/nginx_signing.key
 module_hotfixes=true
+priority=9
 
 [nginx-mainline]
 name=nginx mainline repo
@@ -556,6 +557,7 @@ gpgcheck=1
 enabled=0
 gpgkey=https://nginx.org/keys/nginx_signing.key
 module_hotfixes=true
+priority=9
 </programlisting>
 
 To set up the yum repository for Amazon Linux 2023, create the file named
@@ -570,6 +572,7 @@ gpgcheck=1
 enabled=1
 gpgkey=https://nginx.org/keys/nginx_signing.key
 module_hotfixes=true
+priority=9
 
 [nginx-mainline]
 name=nginx mainline repo
@@ -578,6 +581,7 @@ gpgcheck=1
 enabled=0
 gpgkey=https://nginx.org/keys/nginx_signing.key
 module_hotfixes=true
+priority=9
 </programlisting>
 
 By default, the repository for stable nginx packages is used.
--- a/xml/ru/linux_packages.xml
+++ b/xml/ru/linux_packages.xml
@@ -7,7 +7,7 @@
 <article name="nginx: пакеты для Linux"
          link="/ru/linux_packages.html"
          lang="ru"
-         rev="83">
+         rev="84">
 
 <section name="Поддерживаемые дистрибутивы и версии" id="distributions">
 
@@ -545,6 +545,7 @@ gpgcheck=1
 enabled=1
 gpgkey=https://nginx.org/keys/nginx_signing.key
 module_hotfixes=true
+priority=9
 
 [nginx-mainline]
 name=nginx mainline repo
@@ -553,6 +554,7 @@ gpgcheck=1
 enabled=0
 gpgkey=https://nginx.org/keys/nginx_signing.key
 module_hotfixes=true
+priority=9
 </programlisting>
 
 Для подключения yum-репозитория для Amazon Linux 2023 создайте файл с именем
@@ -567,6 +569,7 @@ gpgcheck=1
 enabled=1
 gpgkey=https://nginx.org/keys/nginx_signing.key
 module_hotfixes=true
+priority=9
 
 [nginx-mainline]
 name=nginx mainline repo
@@ -575,6 +578,7 @@ gpgcheck=1
 enabled=0
 gpgkey=https://nginx.org/keys/nginx_signing.key
 module_hotfixes=true
+priority=9
 </programlisting>
 
 По умолчанию используется репозиторий для стабильной версии nginx.