hazaveh.net
Upgrade to latest nginx on CentOS 7 | Mahdi Hazaveh
The nginx version that is shipped with CentOS epel repository is quite old. To upgrade your nginx installation you need to create a repository and add nginx servers to it. to do so create a file called nginx.repo on /etc/yum.repos.d/nginx.repo and place following content in it. [crayon-5c95d8a10a230781538945/] then simply stop nginx service and run the yum update command. [crayon-5c95d8a10a23c012528278/] this will be using the latest stable package. if you want to use the latest mainline release you need to tell yum to use that one instead by running: [crayon-5c95d8a10a23e108539284/]