Home > Topics > Pagoda Panel > Detailed explanation of reverse proxy configuration method of Pagoda panel

Detailed explanation of reverse proxy configuration method of Pagoda panel

藏色散人
Release: 2020-07-06 13:21:48
forward
44817 people have browsed it

The following tutorial column of Pagoda Installation will introduce you to the reverse proxy configuration of the Pagoda panel. I hope it will be helpful to friends in need!

Detailed explanation of reverse proxy configuration method of Pagoda panel

#This tutorial uses reverse Google search as an example.

First we create a website, just fill in the domain name, other databases do not need to be created. PHP version is optional.

Detailed explanation of reverse proxy configuration method of Pagoda panel

#Then because Google is an https address, we also need to install an SSL certificate. I use Pagoda Panel's free SSL directly.

Detailed explanation of reverse proxy configuration method of Pagoda panel

Let’s start setting the reverse proxy parameters. Very nice to fill out. The target URL is filled in with the domain name we want to reverse proxy. It needs to be preceded by http:// or https://

and then the sending domain name. When sending the domain name, also fill in the address to be reversed.

Detailed explanation of reverse proxy configuration method of Pagoda panel

As shown below, it has been successfully opened. Can be accessed normally

Detailed explanation of reverse proxy configuration method of Pagoda panel

Another situation, for example, I have two servers: Server A and Server B

Server A: in Los Angeles, USA 192.168.0.1

Server B: Alibaba Cloud 127.0.0.1 in Beijing, China

My website was initially built on server A, Los Angeles, USA. If the domain name is www.baidu.com

Then I want to use server B to reverse server A.

In this case, our domain name www.baidu.com is resolved on server B. The website on server A must also be bound to a domain name, and the domain name is arbitrary. For example www.qq.com.

Then at this time, the server B site is bound to the domain name www.baidu.com.

Fill in the reverse proxy of server B as follows:

Target URL: starting with http or https, followed by the IP address. For example, http://127.0.0.1

Note that this URL must be able to access the content you want to reverse.

Send the domain name: www.qq.com

Then enable it directly below.

Then when we access www.baidu.com on server B, we will access the content of www.qq.com on server B.

A reverse proxy is actually just like an intermediate proxy server. It’s just that this agent faces the public through domain names.

The above is the detailed content of Detailed explanation of reverse proxy configuration method of Pagoda panel. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:qs02
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template