changed nginx config to work with centos 6