Documentation Index
Fetch the complete documentation index at: https://docs.xpertai.cn/llms.txt
Use this file to discover all available pages before exploring further.
SSL
Enable HTTPS Service
If you need to enable HTTPS service for this system, you can do so with the following configuration:- Obtain the certificate files and place them in the
volumes/webapp/ssldirectory, with the filenamesserver.crtandserver.key. - Place the custom Nginx configuration file in the
volumes/webapp/confdirectory, with the filenamenginx.conf, configured as follows
- Specify the nginx configuration file: change
command: ['nginx', '-g', 'daemon off;']tocommand: ['nginx', '-g', 'daemon off;', '-c', '/webapp/conf/nginx.conf'] - Modify the ports configuration to open port 443:
- "443:443" - Change
API_BASE_URLin the.envfile to//your.domain. - Change
WEBAPP_PORTin the.envfile to443. If you want to enable both (80/443), you can remove this variable.