


Configure Apache reverse proxy in the Pagoda panel to implement port forwarding
The following column Pagoda Panel Tutorial will introduce to you how to configure the Apache reverse proxy in the Pagoda Panel to implement port forwarding. I hope it will be helpful to friends in need!
Development environment
Server environment: Centos 6.9
WEB server: Apache
Service Management Panel: Pagoda Panel 5.7.0
Preface
I encountered a problem recently during development. The address of one of my management pages is: https:/ /ServerAdress:8090, I want to use https://ServerAdress (port 443) to access this management page, so I query online how to implement port forwarding; there are two ways to query online: 1. Modify iptable on the server, Do port forwarding; 2. Use Apache for reverse proxy; since there are multiple websites on the server, I chose the second method, this article: blog.csdn.net/shishui5271…
But The logic of configuring Apache in the online method is somewhat different from that of using the pagoda panel. After exploring it, I will record the solution.
Steps
1. Open the Pagoda Panel -> Website, click on the site to be configured to enter [Site Modification];
2. In [ [Reverse Proxy] of Site Modification], add the URL port you want to forward to in the "Target URL". For example, if I want to forward port 443 to port 8090, then I fill in https://ServerAdress:8090 here." "Send domain name" is the default, click to start the reverse proxy;
3. After completing the previous step, you still cannot access. When accessing https://ServerAdress, a Proxy Error will be reported. . Open the configuration file, find the 443 VisualHost code segment in the configuration file, add two lines of code to the following code
4. Restart the Apache service
5. Open https://ServerAdress in the browser and see if it is the content of port 8090.
The above is the detailed content of Configure Apache reverse proxy in the Pagoda panel to implement port forwarding. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Zend Studio 13.0.1
Powerful PHP integrated development environment

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.