目前nginx需要pcre支持,另外如果要https需要加入http_stub_status和http_ssl
yum -y install pcre-devel openssl openssl-devel ./configure --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module