安装 Nginx 报错 ./configure: error: the HTTP rewrite module requires the PCRE library.
报错内容
./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=
解决方式
yum install -y pcre-devel