AnQiCMS can be used with Nginx or Apache, Nginx is recommended.

Nginx (Recommended)

AnQiCMS built-in HTTP server, but it is recommended to use Nginx reverse proxy in production environment.Nginx provides HTTPS termination, static resource caching, load balancing, and other functions.

Apache supported

You can also use Apache as a reverse proxy server. The requests are forwarded to AnQiCMS through the mod_proxy module.

Configuration example

The Nginx configuration is simple, just set the proxy_pass to the port where AnQiCMS is running. The official documentation provides a complete configuration example.

Static resources

It is recommended to handle static resources such as CSS, JS, and images directly by Nginx to reduce the load on AnQiCMS.

HTTPS configuration

Use Let's Encrypt or Alibaba Cloud SSL certificate to configure HTTPS at the Nginx level. AnQiCMS does not need to handle SSL encryption and decryption.