Create or edit file.
sudo vi /etc/yum.repos.d/nginx.repo
Append follow to the file.
[nginx]
name=nginx repo
baseurl=http://nginx.org/packages/mainline/rhel/7/$basearch/
gpgcheck=0
enabled=1
Install nginx.
sudo yum install nginx
Create or edit file.
sudo vi /etc/yum.repos.d/city-fan.repo
Append follow to the file.
[CityFan]
name=City Fan Repo
baseurl=http://www.city-fan.org/ftp/contrib/yum-repo/rhel$releasever/$basearch/
enabled=1
gpgcheck=0
Install curl
sudo yum install curl