From c7b63606540b3a7d8305b103047bf82fd89d65c9 Mon Sep 17 00:00:00 2001 From: Riel Downer <144723985+RielDowner@users.noreply.github.com> Date: Thu, 15 Aug 2024 21:51:33 +0100 Subject: [PATCH] Update installation.rst to enable GPG checks Enabled GPG checks to RHEL & its derivatives Closes: https://github.com/nginx/unit-docs/issues/162 Signed-off-by: Andrew Clayton --- source/installation.rst | 42 +++++++++++++++++++++++++++-------------- 1 file changed, 28 insertions(+), 14 deletions(-) diff --git a/source/installation.rst b/source/installation.rst index 312b583f..d07e605e 100644 --- a/source/installation.rst +++ b/source/installation.rst @@ -178,7 +178,8 @@ Amazon Linux [unit] name=unit repo baseurl=https://packages.nginx.org/unit/amzn/2023/$basearch/ - gpgcheck=0 + gpgkey=https://unit.nginx.org/keys/nginx-keyring.gpg + gpgcheck=1 enabled=1 #. Install the core package @@ -218,7 +219,8 @@ Amazon Linux [unit] name=unit repo baseurl=https://packages.nginx.org/unit/amzn2/$releasever/$basearch/ - gpgcheck=0 + gpgkey=https://unit.nginx.org/keys/nginx-keyring.gpg + gpgcheck=1 enabled=1 #. Install the core package @@ -264,7 +266,8 @@ Amazon Linux [unit] name=unit repo baseurl=https://packages.nginx.org/unit/amzn/$releasever/$basearch/ - gpgcheck=0 + gpgkey=https://unit.nginx.org/keys/nginx-keyring.gpg + gpgcheck=1 enabled=1 #. Install the core package @@ -536,7 +539,8 @@ Fedora [unit] name=unit repo baseurl=https://packages.nginx.org/unit/fedora/$releasever/$basearch/ - gpgcheck=0 + gpgkey=https://unit.nginx.org/keys/nginx-keyring.gpg + gpgcheck=1 enabled=1 #. Install the core package @@ -576,7 +580,8 @@ Fedora [unit] name=unit repo baseurl=https://packages.nginx.org/unit/fedora/$releasever/$basearch/ - gpgcheck=0 + gpgkey=https://unit.nginx.org/keys/nginx-keyring.gpg + gpgcheck=1 enabled=1 #. Install the core package @@ -622,7 +627,8 @@ Fedora [unit] name=unit repo baseurl=https://packages.nginx.org/unit/fedora/$releasever/$basearch/ - gpgcheck=0 + gpgkey=https://unit.nginx.org/keys/nginx-keyring.gpg + gpgcheck=1 enabled=1 #. Install the core package @@ -668,7 +674,8 @@ Fedora [unit] name=unit repo baseurl=https://packages.nginx.org/unit/fedora/$releasever/$basearch/ - gpgcheck=0 + gpgkey=https://unit.nginx.org/keys/nginx-keyring.gpg + gpgcheck=1 enabled=1 #. Install the core package @@ -714,7 +721,8 @@ Fedora [unit] name=unit repo baseurl=https://packages.nginx.org/unit/fedora/$releasever/$basearch/ - gpgcheck=0 + gpgkey=https://unit.nginx.org/keys/nginx-keyring.gpg + gpgcheck=1 enabled=1 #. Install the core package @@ -761,7 +769,8 @@ Fedora [unit] name=unit repo baseurl=https://packages.nginx.org/unit/fedora/$releasever/$basearch/ - gpgcheck=0 + gpgkey=https://unit.nginx.org/keys/nginx-keyring.gpg + gpgcheck=1 enabled=1 #. Install the core package @@ -807,7 +816,8 @@ Fedora [unit] name=unit repo baseurl=https://packages.nginx.org/unit/fedora/$releasever/$basearch/ - gpgcheck=0 + gpgkey=https://unit.nginx.org/keys/nginx-keyring.gpg + gpgcheck=1 enabled=1 #. Install the core package @@ -857,7 +867,8 @@ RHEL and derivatives [unit] name=unit repo baseurl=https://packages.nginx.org/unit/rhel/$releasever/$basearch/ - gpgcheck=0 + gpgkey=https://unit.nginx.org/keys/nginx-keyring.gpg + gpgcheck=1 enabled=1 #. Install the core package @@ -897,7 +908,8 @@ RHEL and derivatives [unit] name=unit repo baseurl=https://packages.nginx.org/unit/rhel/$releasever/$basearch/ - gpgcheck=0 + gpgkey=https://unit.nginx.org/keys/nginx-keyring.gpg + gpgcheck=1 enabled=1 #. Install the core package @@ -941,7 +953,8 @@ RHEL and derivatives [unit] name=unit repo baseurl=https://packages.nginx.org/unit/rhel/$releasever/$basearch/ - gpgcheck=0 + gpgkey=https://unit.nginx.org/keys/nginx-keyring.gpg + gpgcheck=1 enabled=1 #. Install the core package @@ -987,7 +1000,8 @@ RHEL and derivatives [unit] name=unit repo baseurl=https://packages.nginx.org/unit/rhel/$releasever/$basearch/ - gpgcheck=0 + gpgkey=https://unit.nginx.org/keys/nginx-keyring.gpg + gpgcheck=1 enabled=1 #. Install the core package