After the openssl upgrade, nginx re-compiles and installs the tutorial, opensslnginx

Source: Internet
Author: User

After the openssl upgrade, nginx re-compiles and installs the tutorial, opensslnginx

Nginx recompilation and installation tutorial after openssl upgrade

Openssl1.0.2 or later must be installed. problems may occur when you recompile and install nginx./cannot be found /. in the openssl path, find the auto/lib/openssl/conf file in the nginx source code path and remove it. openssl # tar zxvf nginx-1.10.2.tar.gz # cd nginx-1.10.2/# vim auto/lib/openssl/conf # Find the following content. remove CORE_INCS = "$ CORE_INCS $ openssl /. openssl/include "CORE_DEPS =" $ CORE_DEPS $ OPENSSL /. openssl/include/openssl/ssl. h "CORE_LIBS =" $ CORE_LIBS $ OPENSSL /. openssl/lib/libssl. a "CORE_LIBS =" $ CORE_LIBS $ OPENSSL /. openssl/lib/libcrypto. a "CORE_LIBS =" $ CORE_LIBS $ NGX_LIBDL"

Tar-zxvf nginx-1.10.2.tar.gz

Cd nginx-1.10.2

./Configure \

-- Prefix =/usr/local/nginx \

With-http_ssl_module \

-- With-openssl =/usr/local/openssl-1.0.2j \

-- With-pcre =/usr/local/pcre-8.39 \

-- With-zlib =/usr/local/zlib-1.2.10 \

With-http_stub_status_module \

-- With-threads

Make & make install

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.