# Legacy version of nginx installed by default

**URL:** <https://forums.rockylinux.org/t/legacy-version-of-nginx-installed-by-default/11532>\
**Category:** Rocky Linux Help & Support\
**Tags:** rocky-linux-9\
**Created:** [October 9, 2023, 11:01am UTC](https://forums.rockylinux.org/t/legacy-version-of-nginx-installed-by-default/11532 "2023-10-09T11:01:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![robnicholsonmalt](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/robnicholsonmalt/32/3615_2.png) [@robnicholsonmalt](https://forums.rockylinux.org/u/robnicholsonmalt)\
**Post date:** [October 9, 2023, 11:01am UTC](https://forums.rockylinux.org/t/legacy-version-of-nginx-installed-by-default/11532/1 "2023-10-09T11:01:40Z")

</div>

**dnf install nginx** installs legacy version 1.20.1. Any particular reason why and not the stable recent version?

---

<div class="post-metadata">

**Author:** ![iwalker](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/iwalker/32/2599_2.png) [@iwalker](https://forums.rockylinux.org/u/iwalker)\
**Post date:** [October 9, 2023, 11:17am UTC](https://forums.rockylinux.org/t/legacy-version-of-nginx-installed-by-default/11532/2 "2023-10-09T11:17:01Z")

</div>

Because that is the version released by RHEL and set as default in the distribution.

Using `dnf module list nginx` shows that 1.22 is available and of which you can enable with:

```auto
dnf module enable nginx:1.22

```

and you can then ensure you have the latest one. Module streams for later versions are not set as the default by RHEL as chosen by them. Rocky is 1:1 with RHEL so will also be in sync in terms of package versions as well as module streams.

Also note, RHEL backports fixes, so if something is vulnerable in 1.22 that gets fixed, and it’s also vulnerable in 1.20, then it will get backported by RHEL to ensure 1.20 is not vulnerable.

---

<div class="post-metadata">

**Author:** ![robnicholsonmalt](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/robnicholsonmalt/32/3615_2.png) [@robnicholsonmalt](https://forums.rockylinux.org/u/robnicholsonmalt)\
**Post date:** [October 9, 2023, 11:18am UTC](https://forums.rockylinux.org/t/legacy-version-of-nginx-installed-by-default/11532/3 "2023-10-09T11:18:39Z")

</div>

Thanks for the reply. New to Rocky Linux and hadn’t quite appreciated the link back to RHEL. I understand the need to keep backwards compatible version number wise.

---

<div class="post-metadata">

**Author:** ![iwalker](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/iwalker/32/2599_2.png) [@iwalker](https://forums.rockylinux.org/u/iwalker)\
**Post date:** [October 9, 2023, 11:22am UTC](https://forums.rockylinux.org/t/legacy-version-of-nginx-installed-by-default/11532/4 "2023-10-09T11:22:21Z")

</div>

No problem 🙂 Rocky aims to be 1:1 with RHEL and this hasn’t changed.

Some other distros that used to track RHEL have gone ABI-compatible instead, which means they no longer track RHEL 1:1 and therefore package versions are more likely to be in sync with CentOS Stream instead.

---

<div class="post-metadata">

**Author:** ![jlehtone](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jlehtone](https://forums.rockylinux.org/u/jlehtone)\
**Post date:** [October 9, 2023, 11:44am UTC](https://forums.rockylinux.org/t/legacy-version-of-nginx-installed-by-default/11532/5 "2023-10-09T11:44:10Z")

</div>

On the RHEL side there is:

- _Backporting_: [Security Backporting Practice - Red Hat Customer Portal](https://access.redhat.com/security/updates/backporting) and [What is backporting and how does it affect Red Hat Enterprise Linux (RHEL)? - Red Hat Customer Portal](https://access.redhat.com/solutions/57665)  
Version _X_ in RHEL is more “originally forked from upstream _X_” than “identical to upstream _X_”
- _Application Streams_: [Red Hat Enterprise Linux Application Streams Life Cycle - Red Hat Customer Portal](https://access.redhat.com/support/policy/updates/rhel-app-streams-life-cycle)  
The nginx 1.22 _stream_ was released with RHEL 8.8 and 9.2 in May 2023 and will be supported by Red Hat to Nov 2025.

The “non-stream” nginx 1.20 in RHEL 9, is it still with RH support to 2032?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/1X/91b7219eec10e30013422e4df76c1d898711a5d5.svg) [@system](https://forums.rockylinux.org/u/system)\
**Post date:** [December 8, 2023, 11:44am UTC](https://forums.rockylinux.org/t/legacy-version-of-nginx-installed-by-default/11532/6 "2023-12-08T11:44:20Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
