vi /etc/yum.repos.d/nginx.repo [nginx] name=nginx repo baseurl=http://nginx.org/packages/centos/6/$basearch/ gpgcheck=0 enabled=1 yum install nginx https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-centos-6-with-yum Note to self. Configs: /etc/nginx/nginx.conf /etc/nginx/conf.d/default.conf service nginx restart