Question

Outdated nginx version.

Posted December 30, 2021 130 views
NginxUbuntu 20.04

I just created a Ubuntu 20.04 droplet and after following the initial setup and LEMP tutorial I noticed that nginx is on version 1.18.0, when the newest mainline version is 1.21.5. I’m wondering if there is any benefit of running a newer version. After playing around with the newer version and following some tutorials, I’m finding that the newer version has some different configuration setups, that have been causing me a few headache to track down solutions.

Thank you.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
1 answer

Hi @kodybrand,

I would assume you’ve installed Nginx with apt, correct?

If yes, then usually, that’s the latest stable version. Having said that, if you want to use a newer release, it’s not a problem, yes there might be some differences in as in your case but it will still provide the same version.

According to the Nginx website:

Mainline version

  • nginx-1.21.5 pgp
  • nginx/Windows-1.21.5 pgp

This means you are on the latest stable version so I think it’s okay to use it.