Pre-Built Packages for Stable version To set up the yum repository for RHEL/CentOS, create the file
Pre-Built Packages for Stable version
To set up the yum repository for RHEL/CentOS, create the file named /etc/yum.repos.d/nginx.repo
with the following contents:
[nginx]name=nginx repobaseurl=http://nginx.org/packages/7/$basearch/gpgcheck=0enabled=1.
yum install nginx