By Lex Gabrees
See title … I found this post : https://www.digitalocean.com/community/questions/how-to-update-nginx-and-should-i-update-it
It says that one can update NGINX as follows :
sudo add-apt-repository ppa:nginx/stable sudo apt-get update sudo apt-get install nginx
However, let’s say you a 1 or more plugins installed. Does the update process check for updates of the plugins as well ? Or do I have to manually update the plugins I am using also ?
I ask this because I read a comment about how updating NGINX is a nightmare here : https://anturis.com/blog/nginx-vs-apache/
(search for : ’ comrade ’ to find the comment.
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!
Updating nginx will just update the nginx binary and associated files so if you have third party applications that you have hooked into nginx you will need to update those individually.
Just in case before you begin the upgrade you may want to power down your droplet and take a snapshot of it. This way if you run into any issues or have complications you can always revert back to the snapshot you took.
Also not a bad idea to take a backup of your nginx.conf file before you begin the upgrade along with the snapshot as well.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.