How to configure a reverse proxy site for AnQiCMS container deployed with Docker in 1Panel?

Calendar 👁️ 166

As an experienced website operations expert, I am happy to give you a detailed explanation of how to configure a reverse proxy site for the AnQiCMS container deployed in the 1Panel environment, so that your website runs professionally and efficiently.


Configure reverse proxy for AnQiCMS container deployed in 1Panel: Get your website professionally online!

AnQiCMS (AnQiCMS) is an enterprise-level content management system developed based on the Go language, which has become the preferred choice for many small and medium-sized enterprises and content operation teams due to its high efficiency, security, and SEO-friendliness.It is simple to deploy, runs fast, and can meet various content display and management needs.When choosing to deploy AnQiCMS through Docker containers on the powerful 1Panel panel, how to allow users to access it through a familiar domain name rather than a complex IP address with a port number has become a key step before the website goes live.This is the place where reverse proxy is used.

By configuring reverse proxy, we can not only provide AnQiCMS website with a professional and memorable access entry, but also easily implement HTTPS encryption, bringing higher security and better search engine rankings to the website, making your content marketing journey smoother.

Preparation in advance: Make sure your environment is ready

Before starting to configure the reverse proxy, please confirm that the following points are ready

  1. 1Panel panel is installed and running normally:This is the foundation of all operations.
  2. The Docker service has been started in 1Panel:Make sure the Docker feature of 1Panel is enabled.
  3. The AnQiCMS container has been successfully deployed and running:You have followed AnQiCMS's Docker deployment guide, created and started the AnQiCMS container in 1Panel. Remember that the container exposes the following to the outside.Host machine port(Typically 8001, but you may modify it during deployment). This port will be the target of our reverse proxy.

Detailed steps to configure reverse proxy

Now, let's go step by step to complete the AnQiCMS reverse proxy configuration.

1. Confirm the running status of the AnQiCMS container.

Firstly, we should confirm again that the AnQiCMS container is running normally in 1Panel. Click on thecontainerOption, find the AnQiCMS container you deployed. Make sure its status shows thatRunningAnd you have already remembered it, the external mapped host port (for example, the default is 8001). This is the key to ensure that the reverse proxy can correctly connect to AnQiCMS.

2. Log in to 1Panel's website management interface

Next, we need to create an external access entry for this running AnQiCMS container. In the left navigation bar, find and click thewebsiteoption, then select thewebsiteSubmenu. Here you will see a “Create a websiteClick the “button。“

3. Select reverse proxy mode

In the pop-up website creation window, 1Panel provides multiple website creation modes. To forward external domain requests to our Docker container, we need to selectReverse ProxyThis pattern is specifically used to transparently redirect incoming web requests to backend services without exposing the real address and port of the backend service, thereby increasing security and flexibility.

4. Fill in the domain and proxy address

This is the core step of reverse proxy configuration, please fill in carefully:

  • Primary Domain:Here, you need to enter the domain name you want users to access your AnQiCMS website through, for exampleyour-anqicms.comortest.anqicms.comMake sure that this domain name is correctly resolved (A record or CNAME record) to your server IP address.
  • Proxy Address:Here is the key point! It points to the internal service address that your AnQiCMS container is listening on the host machine.Since Docker containers typically map internal ports to the local address of the host machine, so here fill in127.0.0.1:端口号. Here,端口号It is the host port exposed by your AnQiCMS container (default is 8001).If you use a different port when deploying AnQiCMS, please make sure to fill in the correct port number.For example, if your AnQiCMS container is running on the host's port 8002, then enter here127.0.0.1:8002.

Please note that if you plan to deploy multiple AnQiCMS sites on the same server, each site needs to be configured with a separate reverse proxy that points to a different host port mapped to its Docker container.AnQiCMS itself supports multi-site management, through the configuration of different port mappings and reverse proxy, it can realize the powerful function of managing multiple websites with a set of code.

5. Complete the site creation and testing.

After filling in, click theConfirmButton. 1Panel will automatically configure the reverse proxy rules for you at the bottom layer using Nginx (or another web server).Wait a moment, after the website is successfully created, you can open the browser and enter the domain name you just set (such ashttp://test.anqicms.com/) Visit your AnQiCMS website. If everything goes well, you should see the AnQiCMS initial installation interface or the configured website content.

Don't forget, the backend management address of AnQiCMS is usually your domain name plus/system/(For example)http://test.anqicms.com/system/). When you first visit, you may need to perform the website initialization installation, including database configuration and administrator account setup.

Summary

By following these simple steps, you have successfully configured the reverse proxy site for the AnQiCMS container deployed on Docker.This not only gives your website a professional and memorable access address, laying a solid foundation for future HTTPS encryption configuration, but also makes website management and maintenance more convenient.Enjoy the efficient content management experience brought by AnQiCMS!


Frequently Asked Questions (FAQ)

Q1: Why is my website still inaccessible after configuring a reverse proxy?

A1:This usually has several reasons. First, please check if your domain has been correctly resolved to the server's public IP address. Second, confirm the firewall settings of 1Panel

Related articles

What are the detailed steps for installing AnQiCMS using 1Panel Docker?

As an experienced website operation expert, I am well aware of the importance of an efficient and easy-to-use content management system for both enterprises and individual operators.AnQiCMS (AnQiCMS) with its high performance brought by the Go language, rich SEO tools, and excellent multi-site management capabilities, has become the first choice of many users.When AnQiCMS encounters a modern server operation and management panel like 1Panel, the ease of deployment has reached a new height.

2025-11-06

How to change the default administrator account and password after installing AnQiCMS to enhance security?

As an experienced website operations expert, I am well aware of the importance of website security in daily operations, especially in the early stages of system installation, many details may become potential security risks.AnQiCMS is an enterprise-level content management system dedicated to providing efficient, secure, and customizable services, considering security from the beginning of its design.However, the initial settings are often adopted for convenience and use default values, which requires us to take immediate action after installation to ensure the security and stability of the website.

2025-11-06

How to query and release the port occupied by AnQiCMS or other programs under the Linux system?

AnQiCMS, as an enterprise-level content management system developed based on the Go language, has won the favor of many users with its lightweight and efficient features.When deploying and running AnQiCMS in a Linux environment, we usually specify a listening port for it, such as the default 8001.However, in daily operation and maintenance, we may encounter such situations: AnQiCMS cannot start, indicating that the port is occupied; or the system resources are abnormal, and it is necessary to find and terminate the process occupying a specific port.

2025-11-06

How to solve the error 'Port is occupied' during the installation of AnQiCMS?

AnQiCMS as an efficient and flexible content management system, is favored by many users for its lightweight characteristics of the Go language and ease of deployment.However, during the installation or startup of AnQiCMS, you may encounter a little surprise - an error message indicating that the port is already in use.Don't worry, this is usually a common and easy problem to solve.As an experienced website operations expert, I will delve into this issue for you and provide a clear and practical solution to help you smoothly build the AnQiCMS site.

2025-11-06

How is the installation process for deploying AnQiCMS Docker application with aaPanel one-click?

As an experienced website operations expert, I am well aware of the importance of efficient and stable website deployment for any content operation project.Especially at the moment, Docker container technology and integrated management panels like aaPanel have brought us unprecedented convenience.Today, let's delve into how to take advantage of the powerful features of aaPanel and easily achieve one-click deployment of AnQiCMS Docker applications.

2025-11-06

How to manually configure reverse proxy to solve the problem after the installation of AnQiCMS fails in aaPanel Docker?

## aaPanel Docker installation failed?Don't hurry, setting up manual reverse proxy is easy!Hello!As an experienced website operations expert, I know how important efficiency and stability are when deploying a website.AnQiCMS, with its high-performance architecture developed in Go language, rich and practical SEO features, and flexible content management capabilities, has become the preferred choice for many small and medium-sized enterprises and content operators.It is not only simple to deploy and efficient in operation, but also effectively guarantees website security.

2025-11-06

How to install MySQL in the Baota panel Docker environment for AnQiCMS usage?

AnQiCMS (AnQiCMS) is a powerful helper for small and medium-sized enterprises and content operation teams with its high-performance, modular design based on the Go language and enterprise-level features, quickly becoming a reliable assistant.It is committed to providing an efficient, customizable, and easy-to-expand content management solution. Whether you are building a corporate website, a marketing website, or managing multiple sites, AnQiCMS can handle it with ease.As the core of the content management system, the database plays a vital role, responsible for storing and managing all the content and configurations of the website.

2025-11-06

How to obtain and fill in the MySQL root password when installing AnQiCMS with Baota panel Docker?

## AnQiCMS Docker installation using Panel: Easily obtain and fill in the MySQL root password guide As an experienced website operations expert, I am well aware that how to efficiently and accurately handle database configuration is the key to success when quickly deploying a content management system.AnQiCMS (AnQiCMS) has won the favor of many small and medium-sized enterprises and self-media operators with its efficient and concise features based on the Go language.Installing AnQiCMS through the Docker container feature of Baota panel is undoubtedly an efficient way to achieve this goal. However

2025-11-06