The security of a server is crucial, which includes avoiding the use of environment components with vulnerabilities. Recently,
Nginx disclosed memory leaks and directory traversal vulnerabilities under specific configurations, so it is recommended to update to version 1.17.7 or above. Naiba here introduces how to update the Nginx version in environments using the LNMP one-click installation package and Baota Panel.
Method for Manually Upgrading Nginx Version in LNMP
1. Use SSH software, such as
xshell to connect to the VPS2. Switch to the LNMP installation directory and execute the `./upgrade.sh nginx` command. 3. Enter the version number 1.17.9 and press Enter to proceed with the update.

Method for Manually Updating LNMP Version in Baota Panel
1. Log in to the Baota Panel and go to the application list. 2. Find Nginx and click the update button behind it. 3. Enter the verification answer, and it will update automatically.

Comments are closed
The comment function for this article is closed. If you have any questions, please feel free to contact us through other channels.