Implement reverse proxy for Nginx and apache

Source: Internet
Author: User
Tags openssl library
Nginx and apache implement reverse proxy 1. before installation, three supported tools are required: gzip, pcre, and openssl. the dependent gzip module of the openssl module requires the zlib library rewrite module, and the pcre library ssl function requires the openssl library 2. check whether gzip, pcre, and openss are installed... nginx and apache implement reverse proxy 1. before installation, three supported tools are required: gzip, pcre, and openssl. the dependent gzip module of the openssl module requires the zlib library rewrite module, and the pcre library ssl function requires the openssl library 2. check whether gzip, pcre, openssl rpm-qa | grep "zlib" rpm-qa | grep "pcre" rpm-qa | grep "openssl" 3 is installed. the pre-compiled installation package gzip supports zlib. http://www.zlib.net/ Download the latest version to rewrite module requires pcre library. http://www.pcre.org/ To download the latest version, the ssl function requires an openssl library. http://www.openssl.org/= > http://www.openssl.org/source/ LASTEST version 4. install nginx tar zxvf nginx.tar.gz. /configure -- with-http_ssl_module Make install5.Nginx and apache implement reverse proxy in the configuration file nginx. set http {include mime. types; default_type application/octet-stream; upstream my_server_pool {server 192.168.10.43: 8088;} server {listen 80; server_name localhost; # location/{# root html; # index index.html index.htm; #} location/{proxy_pass http://my_server_pool ;}}}
Related Article

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: info-contact@alibabacloud.com 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.