Use the 1.26.0 version officially released on April 23, compile with rpmbuild, and the default path is/usr/share/nginx. If you upgrade from a previous version, it is recommended to check whether the path is consistent. You can use the backup configuration file to uninstall the previous version, and then install this version, or use the soft link to configure. Later, after the official release of the new version of nginx, the blog will be compiled and upgraded at the first time. For CentOS7: nginx-1.26.0-1.x86_64.rpm Default compilation parameters: ....