首页>>帮助中心>>美国云服务器Centos安装nginx遇到的rewrite和HTTP cache错误解决办法

美国云服务器Centos安装nginx遇到的rewrite和HTTP cache错误解决办法

2024/12/19 272次

美国云服务器Centos安装nginx遇到的rewrite和HTTP cache错误解决办法
单独在Centos安装nginx遇到的rewrite和HTTP cache错误解决办法:
报如下错时安装pcre-devel解决问题既yum -y install pcre-devel后再输入

报如下错误时用命令yum install -y zlib-devel

错误提示:./configure: error: the HTTP cache module requires md5 functionsfrom OpenSSL library. You can either disable the module by using--without-http-cache option, or install the OpenSSL library into the system,or build the OpenSSL library statically from the source with nginx by using--with-http_ssl_module --with-openssl= options.
解决办法:
yum -y install openssl openssl-devel
总结:
yum -y install pcre-devel openssl openssl-devel
./configure --prefix=/usr/local/nginx
make
make install
一切搞定

购买使用一诺网络美国服务器,可以极大降低初创企业、中小企业以及个人开发者等用户群体的整体IT使用成本,无需亲自搭建基础设施、简化了运维和管理的日常工作量,使用户能够更专注于自身的业务发展和创新。美国服务器低至49元/月,购买链接:https://www.enuoidc.com/vpszq.html?typeid=3

版权声明

    声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们996811936@qq.com进行处理。