I recently provisioned a droplet using digitalocean’s LEMP 43 image on the marketplace.
I noticed that Nginx version is 1.18.0. According to Nginx official site, this version is no longer supported. Only supported versions currently are 1.24 and 1.25. I’m not sure if DigitalOcean maintains and patches the 1.18.0 version somehow on their own (maybe using some PPA?).
So basically I’m trying to understand, am I secure using this v1.18.0 that came with the LEMP image, or should I be looking to manually upgrade?
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!
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 there,
Yes, this is still the latest version available on the default Ubuntu repositories:
If you prefer to have v1.25 installed, what you could do is follow the steps from the above Nginx documentation, and install Nginx from the Official NGINX Repository rather than the default Ubuntu Repository.
Install the prerequisites:
Import an official nginx signing key so apt could verify the packages authenticity. Fetch the key:
Verify that the downloaded file contains the proper key:
The output should contain the full fingerprint
573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62
as follows:If the fingerprint is different, remove the file.
To set up the
apt
repository for stable nginx packages, run the following command:If you would like to use
mainline
nginx packages, run the following command instead:Set up repository pinning to prefer our packages over distribution-provided ones:
Install NGINX Open Source:
Start NGINX Open Source:
Verify that NGINX Open Source is up and running:
Before the upgrade, it is always recommended to backup your Droplet.
If you wish, you could submit a feature request for the LEMP image on the Marketplace via this repository here:
Best,
Bobby
Heya @geochanto,
As already mentioned, this is the default version(latest) provided by the defualt Ubuntu repositories.
You can try and update Nginx to 1.25 or 1.24 if you want as explained bellow how to do it however I do believe that it shouldn’t be necessary. There are no active bugs or exploits for Nginx 1.18.