nginx里的rewrite模块需要用到pcre,源码安装时要--with-pcre='pcre压缩包解压后的文件夹路径'
安装后可以使用nginx安装路径下的命令查看编译参数,例如我在安装时指定prefix是/app/nginx,可以使用命令/app/nginx/sbin/nginx -V 查看编译参数。
nginx里的rewrite模块需要用到pcre,源码安装时要--with-pcre='pcre压缩包解压后的文件夹路径'
安装后可以使用nginx安装路径下的命令查看编译参数,例如我在安装时指定prefix是/app/nginx,可以使用命令/app/nginx/sbin/nginx -V 查看编译参数。