Installing NGINX is pretty easy on Cent, we just need to make the following changes.
Create a new file called /etc/yum.repos.d/nginx.repo and append the following to it
[nginx]
name=nginx repo
baseurl=http://nginx.org/packages/centos/$releasever/$basearch/
gpgcheck=0
enabled=1
Now run yum update and then yum install nginx
Tada!
If this was helpful, let others know in the comments below.