I don't compile nginx, I get it from the official CentOS repo: [nginx] name=nginx repo baseurl=http://nginx.org/packages/centos/6/$basearch/ gpgcheck=0 enabled=1 Posted at Nginx Forum: http://forum.nginx.org/read.php?2,243341,243350#msg-243350