Skip to content

Commit c7b6360

Browse files
RielDownerac000
authored andcommitted
Update installation.rst to enable GPG checks
Enabled GPG checks to RHEL & its derivatives Closes: #162 Signed-off-by: Andrew Clayton <[email protected]>
1 parent 2c6fb03 commit c7b6360

File tree

1 file changed

+28
-14
lines changed

1 file changed

+28
-14
lines changed

source/installation.rst

+28-14
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,8 @@ Amazon Linux
178178
[unit]
179179
name=unit repo
180180
baseurl=https://packages.nginx.org/unit/amzn/2023/$basearch/
181-
gpgcheck=0
181+
gpgkey=https://unit.nginx.org/keys/nginx-keyring.gpg
182+
gpgcheck=1
182183
enabled=1
183184
184185
#. Install the core package
@@ -218,7 +219,8 @@ Amazon Linux
218219
[unit]
219220
name=unit repo
220221
baseurl=https://packages.nginx.org/unit/amzn2/$releasever/$basearch/
221-
gpgcheck=0
222+
gpgkey=https://unit.nginx.org/keys/nginx-keyring.gpg
223+
gpgcheck=1
222224
enabled=1
223225
224226
#. Install the core package
@@ -264,7 +266,8 @@ Amazon Linux
264266
[unit]
265267
name=unit repo
266268
baseurl=https://packages.nginx.org/unit/amzn/$releasever/$basearch/
267-
gpgcheck=0
269+
gpgkey=https://unit.nginx.org/keys/nginx-keyring.gpg
270+
gpgcheck=1
268271
enabled=1
269272
270273
#. Install the core package
@@ -536,7 +539,8 @@ Fedora
536539
[unit]
537540
name=unit repo
538541
baseurl=https://packages.nginx.org/unit/fedora/$releasever/$basearch/
539-
gpgcheck=0
542+
gpgkey=https://unit.nginx.org/keys/nginx-keyring.gpg
543+
gpgcheck=1
540544
enabled=1
541545
542546
#. Install the core package
@@ -576,7 +580,8 @@ Fedora
576580
[unit]
577581
name=unit repo
578582
baseurl=https://packages.nginx.org/unit/fedora/$releasever/$basearch/
579-
gpgcheck=0
583+
gpgkey=https://unit.nginx.org/keys/nginx-keyring.gpg
584+
gpgcheck=1
580585
enabled=1
581586
582587
#. Install the core package
@@ -622,7 +627,8 @@ Fedora
622627
[unit]
623628
name=unit repo
624629
baseurl=https://packages.nginx.org/unit/fedora/$releasever/$basearch/
625-
gpgcheck=0
630+
gpgkey=https://unit.nginx.org/keys/nginx-keyring.gpg
631+
gpgcheck=1
626632
enabled=1
627633
628634
#. Install the core package
@@ -668,7 +674,8 @@ Fedora
668674
[unit]
669675
name=unit repo
670676
baseurl=https://packages.nginx.org/unit/fedora/$releasever/$basearch/
671-
gpgcheck=0
677+
gpgkey=https://unit.nginx.org/keys/nginx-keyring.gpg
678+
gpgcheck=1
672679
enabled=1
673680
674681
#. Install the core package
@@ -714,7 +721,8 @@ Fedora
714721
[unit]
715722
name=unit repo
716723
baseurl=https://packages.nginx.org/unit/fedora/$releasever/$basearch/
717-
gpgcheck=0
724+
gpgkey=https://unit.nginx.org/keys/nginx-keyring.gpg
725+
gpgcheck=1
718726
enabled=1
719727
720728
#. Install the core package
@@ -761,7 +769,8 @@ Fedora
761769
[unit]
762770
name=unit repo
763771
baseurl=https://packages.nginx.org/unit/fedora/$releasever/$basearch/
764-
gpgcheck=0
772+
gpgkey=https://unit.nginx.org/keys/nginx-keyring.gpg
773+
gpgcheck=1
765774
enabled=1
766775
767776
#. Install the core package
@@ -807,7 +816,8 @@ Fedora
807816
[unit]
808817
name=unit repo
809818
baseurl=https://packages.nginx.org/unit/fedora/$releasever/$basearch/
810-
gpgcheck=0
819+
gpgkey=https://unit.nginx.org/keys/nginx-keyring.gpg
820+
gpgcheck=1
811821
enabled=1
812822
813823
#. Install the core package
@@ -857,7 +867,8 @@ RHEL and derivatives
857867
[unit]
858868
name=unit repo
859869
baseurl=https://packages.nginx.org/unit/rhel/$releasever/$basearch/
860-
gpgcheck=0
870+
gpgkey=https://unit.nginx.org/keys/nginx-keyring.gpg
871+
gpgcheck=1
861872
enabled=1
862873
863874
#. Install the core package
@@ -897,7 +908,8 @@ RHEL and derivatives
897908
[unit]
898909
name=unit repo
899910
baseurl=https://packages.nginx.org/unit/rhel/$releasever/$basearch/
900-
gpgcheck=0
911+
gpgkey=https://unit.nginx.org/keys/nginx-keyring.gpg
912+
gpgcheck=1
901913
enabled=1
902914
903915
#. Install the core package
@@ -941,7 +953,8 @@ RHEL and derivatives
941953
[unit]
942954
name=unit repo
943955
baseurl=https://packages.nginx.org/unit/rhel/$releasever/$basearch/
944-
gpgcheck=0
956+
gpgkey=https://unit.nginx.org/keys/nginx-keyring.gpg
957+
gpgcheck=1
945958
enabled=1
946959
947960
#. Install the core package
@@ -987,7 +1000,8 @@ RHEL and derivatives
9871000
[unit]
9881001
name=unit repo
9891002
baseurl=https://packages.nginx.org/unit/rhel/$releasever/$basearch/
990-
gpgcheck=0
1003+
gpgkey=https://unit.nginx.org/keys/nginx-keyring.gpg
1004+
gpgcheck=1
9911005
enabled=1
9921006
9931007
#. Install the core package

0 commit comments

Comments
 (0)