/configure: error: the HTTP rewrite module requires the PCRE library.
You can either disable the module by using --without-http_rewrite_module
option, or install the PCRE library into the system, or build the PCRE library
statically from the source with nginx by using --with-pcre=<path> option.
缺少pcre,zlib依赖 前者为了重写rewrite,后者为了gzip压缩
执行
yum -y install pcre-devel
yum -y install zlib-devel