In this tutorial we will explain how to upgrade your NGINX version to 1.13 from 1.10.
Note: all these commands have to be run as root user, please be sure you are logged in as root user.
Start by adding the NGINX stable repository:
Next update the packages list:
And finally run the actual package updates:
This command "dist-upgrade" might raise some questions on config changes, you can keep your current files by just pressing "enter", this is the most safest option to do so.
Next verify your NGINX version:
And also restart NGINX to be sure it is OK:
service nginx restart