We see the nginx version available is 1.20.1 at Rocky-8 appstream .Since its a EOL we are recommended to upgrade to 1.29.4 version. Will there be any new versions available at upstreams or only the CVE’s will be fixed in this current version as a back-port strategy.
The RHEL 8 is already in Maintenance Phase, which means no more features,
at most backported fixes. Rocky 8 follows RHEL 8, so same applies.
As you see above, the 1.20 and 1.22 are already past their retirement date.
The nginx-1.20 has not (and will not) receive any fixes since Nov 2023.
Only the nginx 1.24 may receive fixes until Rocky 8’s EOL in 2029.
Therefore, you definitely should upgrade. The 1.24 is what Rocky 8 can offer.
Thanks for the information. The default ROCKY8 AppStream repositories is offering older version that is 1.20.1 version.Do we need to configure official Nginx repository to install 1.24 or later
root@rocky8:~# dnf module list nginx
Last metadata expiration check: 0:51:11 ago on Fri 20 Feb 2026 11:15:15 AM CET.
Name Stream Profiles Summary
nginx 1.14 [d][e] common [d] nginx webserver
nginx 1.16 common [d] nginx webserver
nginx 1.18 common [d] nginx webserver
nginx 1.20 common [d] nginx webserver
nginx 1.22 common [d] nginx webserver
nginx 1.24 common [d] nginx webserver
Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled
root@rocky8:~# dnf module switch-to nginx:1.24
Last metadata expiration check: 0:51:36 ago on Fri 20 Feb 2026 11:15:15 AM CET.
Dependencies resolved.
========================================================================================================================
Package Architecture Version Repository Size
========================================================================================================================
Switching module streams:
nginx 1.14 -> 1.24
Transaction Summary
========================================================================================================================
Is this ok [y/N]: y
Complete!
root@rocky8:~# dnf install nginx
Last metadata expiration check: 0:52:07 ago on Fri 20 Feb 2026 11:15:15 AM CET.
Dependencies resolved.
========================================================================================================================
Package Arch Version Repository Size
========================================================================================================================
Installing:
nginx x86_64 1:1.24.0-1.module+el8.10.0+21149+ae7d62bd 600 k
Installing dependencies:
nginx-filesystem noarch 1:1.24.0-1.module+el8.10.0+21149+ae7d62bd 26 k
rocky-logos-httpd noarch 810.1-1.el8_10 30 k
Transaction Summary
========================================================================================================================
Install 3 Packages
Total size: 656 k
Total download size: 626 k
Installed size: 1.7 M
Is this ok [y/N]:
alternatively use dnf update afterwards if you have nginx already installed. I used dnf install above because I don’t have nginx installed on my system, but it clearly shows how you can use the modules without having to add extra repositories.