What should be filled in as the proxy address in the AnQiCMS multi-site reverse proxy configuration?

Calendar 👁️ 55

As an experienced CMS website operation person in the security industry, I know the importance of correctly configuring reverse proxy in complex website architectures, especially when it comes to managing multiple sites.It not only relates to the normal access of the website, but also directly affects the user experience and search engine optimization.Today, let's delve deeply into what should be filled in as the crucial 'proxy address' in the AnQiCMS multi-site reverse proxy configuration.

Understanding the connection mechanism between reverse proxy and AnQiCMS

Before starting the configuration, we first need to understand the role of reverse proxy in website architecture.In simple terms, a reverse proxy server (such as Nginx, Apache) is the entry point for user requests.It receives access requests from external sources, then forwards these requests to the internal backend services for processing, and returns the responses from the backend services to the users.For AnQiCMS, it is an independent application that usually listens for requests on some port of the server.The role of reverse proxy is to forward the requests accessed by users through domain names (default 80 or 443 ports) to the port that AnQiCMS is actually listening on.

AnQiCMS as a CMS system developed based on the Go language, after deployment, it will listen on a default port to provide services. According to the AnQiCMS documentation, the default listening port is usually8001This means that the AnQiCMS application is running internally on your server and providing content management services through this port.

Reverse proxy address of a single AnQiCMS instance.

When you run on the serveran instance of the AnQiCMS applicationAnd when carrying multiple domain websites through its built-in "multi-site management" feature, all these domains ultimately need to be forwarded to the same AnQiCMS instance via reverse proxy.In this case, your reverse proxy address should point to the internal address and port that the AnQiCMS application is listening on.

Generally, if the AnQiCMS application runs on the same machine as your reverse proxy server, the proxy address should be filled in as the local loopback address127.0.0.1Add AnQiCMS listening port. For example, if AnQiCMS is running on the default 8001 port, then the proxy address should be filled in as:

https://en.anqicms.com

Here127.0.0.1Represents the local host, ensuring that requests are forwarded internally to the correct application.

Reverse proxy address for multiple AnQiCMS application instances.

In certain advanced scenarios, or for the purpose of independent management and resource isolation, you may want to run on the same serverMultiple independent AnQiCMS application instancesEach instance is dedicated to serving one or several websites. The documentation mentions that, 'Each AnQiCMS needs to occupy a port, the default port is 8001, if you want to install multiple AnQiCMS on the same server, you need to allocate a different port for each project, the port is written inconfig.jsonWithin, editconfig.jsonTo define different ports.

In this case, each AnQiCMS application instance needs to configure aunique portFor example, the first instance listens on 8001, the second instance listens on 8002, the third instance listens on 8003, and so on.Correspondingly, each domain's proxy address configured in the reverse proxy needs to be accurately pointed to the port of its corresponding AnQiCMS instance.

For example, for a servicesiteA.comof the AnQiCMS instance (listening on port 8001), its reverse proxy address will behttps://en.anqicms.com. As for the servicesiteB.comof the AnQiCMS instance (listening on port 8002), the reverse proxy address then needs to be filled in ashttp://127.0.0.1:8002.

Whether configured through Baota panel, 1Panel, or aaPanel, the core principle is consistent: forward external requests to the internal IP address and listening port where the AnQiCMS application is actually running.

Summarize the key points.

In summary, when you configure the AnQiCMS multi-site reverse proxy, the key points of the proxy address are two:

first, IP addressIt is usually127.0.0.1It indicates that the AnQiCMS application and the reverse proxy service are on the same server.If your AnQiCMS application is deployed on the intranet IP of another server, it should be replaced with the corresponding intranet IP address.

secondly,Port numberThe port must be consistent with the actual port that the AnQiCMS application is listening on.By default, it is 8001, but if you have multiple independent AnQiCMS application instances, or you have manually changed its listening port, you need to fill in the actual effective port.

Fill in the proxy address accurately, which is the basis for ensuring that your AnQiCMS multi-site can run efficiently and stably.


Frequently Asked Questions (FAQ)

1. What should I fill in as the proxy address if my AnQiCMS application is not on the same server?

If the AnQiCMS application is deployed on a machine different from the reverse proxy server, you need to replace127.0.0.1with the server where the AnQiCMS application is locatedLocal IP address(if both are within the same local network) orPublic IP address(If you need to access across the network but for security reasons, it is usually recommended to use a local network IP). For example, if AnQiCMS is running on an IP address of192.168.1.100on the server and listening on port 8001, then the proxy address will behttp://192.168.1.100:8001.

2. How can I determine which port AnQiCMS is listening on?

The listening port of the AnQiCMS application is usually located in the installation directory underconfig.jsonthe file. You can find and open this file, and look forportOr similar keywords to confirm the current listening port. In addition, you can also use in Linux systems.lsof -i:<port_number>Command to check the occupation of a specific port, or view the startup log of the AnQiCMS application to confirm the port it is listening on.

3. What is the difference between "Multi-site management" of AnQiCMS and running "multiple AnQiCMS application instances"? What impact does it have on the filling of proxy addresses?

AnQiCMS's 'Multi-site Management' is a systemBuilt-in functionAllow you to manage and publish the content of multiple independent domain names within an AnQiCMS application instance. In this case, regardless of how many domain names there are, the reverse proxy only needs to forward all requests to thisSingle AnQiCMS application instance listening port(usually)https://en.anqicms.comDistributed internally by AnQiCMS according to the domain name of the request to the corresponding site.

Running "multiple AnQiCMS application instances" means you have started them on the serverMultiple AnQiCMS programsEach program is completely independent, may correspond to one or more sites. In this case, each AnQiCMS application instance needs oneindependent listening portTherefore, each domain's reverse proxy needs to point to the specific port that the AnQiCMS instance is listening on, such as,site1.comproxy tohttps://en.anqicms.com,site2.comproxy tohttp://127.0.0.1:8002)。Choose the way based on your specific needs, resource isolation strategy, and management complexity considerations.

Related articles

What is the corresponding relationship between the AnQiCMS Docker container port and the server port in the panel?

As an experienced CMS website operations person for a security company, I am well aware of the readers' desire for deployment details, especially regarding key configurations such as Docker container ports and server ports.This is a detailed description of the port mapping relationship between Docker containers and server ports in the AnQiCMS Panel.AnQiCMS is a high-efficiency and easy-to-deploy content management system, especially when you choose to deploy it through Docker, especially when using visual management tools like 1Panel or Baota Panel

2025-11-06

How to set up reverse proxy after installing AnQiCMS Docker version on Baota panel?

As an experienced website operator, I am very familiar with the powerful functions of AnQiCMS and its application in enterprise content management.Today, I will guide you on how to set up reverse proxy for your AnQiCMS Docker version under the Baota panel environment, ensuring your website runs efficiently and securely, and laying the foundation for future multi-site expansion.### AnQiCMS Docker Edition Baota Panel Reverse Proxy Setup Guide AnQiCMS is a modern content management system based on the Go programming language, known for its lightweight, efficient, and scalable features

2025-11-06

How to resolve port conflicts when deploying AnQiCMS multi-site with Docker?

As a website operator who has been deeply involved in AnQiCMS for many years, I know that every detail of content management and website deployment is crucial to the success of the project.Especially for those who want to use Docker to conveniently deploy AnQiCMS multi-sites, port conflicts are undoubtedly a common and clear problem that needs to be solved.Today, I will combine the characteristics of AnQiCMS and the deployment practice of Docker to elaborate on how to effectively solve port conflicts in a multi-site scenario.### Deploy AnQiCMS with Docker

2025-11-06

What template types can be selected for building websites with AnQiCMS multi-site?

As a website operator who is well-versed in the operation of AnQiCMS, I know that choosing the appropriate template type is crucial when building and managing multiple sites.AnQiCMS is an enterprise-level content management system designed for multi-site management needs, providing high flexibility for users in template type selection.Understand the characteristics and application scenarios of these template types, which will help you tailor a customized display plan for each site.### AnQiCMS Multi-site Building Template Type Selection AnQiCMS offers three main types of website modes

2025-11-06

How to view and access a newly created child site in the AnQiCMS backend management interface?

As an experienced AnQiCMS website operator, I am well aware of the importance of efficient management of multiple sites for content creators and enterprises.The powerful multi-site management feature of AnQiCMS allows us to easily operate multiple independent websites under a single system.Creating a sub-site is just the first step, how to view and smoothly access these newly created sub-sites is the key to ensuring smooth operation.Next, I will introduce this process in detail. ### Locate the newly created child site in AnQiCMS background First, you need to log in to the background management interface of the AnQiCMS main site

2025-11-06

Can AnQiCMS manage the content of different brands in multiple sites统一?

As a website management expert who is deeply familiar with the operation of AnQiCMS, I fully understand your need for unified management of multi-brand content.Today, with the increasing refinement of content marketing, how to efficiently handle content from different brands while maintaining their independence and maximizing operational efficiency is a common challenge faced by many enterprises.The multi-site management function of AnQi CMS is exactly for solving such problems, but its interpretation of 'unified management' requires us to conduct a more detailed analysis.

2025-11-06

How can the multi-site management of AnQiCMS reduce repetitive work?

As an experienced CMS website operation personnel of an enterprise, I know that many enterprises and individuals often need to manage more than one website in today's complex network environment.Whether it is for different brands, product lines, or regional markets, multilingual promotion, and multi-site operations have become the norm.However, if each website is deployed and managed independently, it would undoubtedly bring about a huge amount of redundant work and operational burden.

2025-11-06

How does the multi-site function of AnQiCMS support cross-site data sharing?

As an experienced website operator familiar with AnQiCMS, I am well aware of the importance of multi-site management for modern content operations.It not only helps enterprises efficiently manage multiple brands or product lines, but also enables effective circulation of resources and content between different sites.AnQiCMS provides strong and flexible support in this field, especially in cross-site data sharing, demonstrating its unique advantages.Explore the multi-site architecture of AnQiCMS AnQiCMS is positioned to serve small and medium-sized enterprises, self-media operators, and multi-site management needs users

2025-11-06