Outdated nginx version.

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.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

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.