seafile12社区版 seadoc启用失败

seafile12社区版 seadoc启用失败,协议https,(换回http协议,seadoc是能正常使用的)日志如下:

[2025-01-31 13:40:32] [ERROR] document-controller.js[56] - Get doc download link error
[2025-01-31 13:40:32] [ERROR] document-controller.js[64] - Get doc download link error. request url is: https://www.test.local/api/v2.1/seadoc/download-link/23673efe-3693-4ab8-9bb0-88f95cce9b3b
/

请问有解决方案吗

看下env文件中的SEAFILE_SERVER_PROTOCOL和SEADOC_SERVER_URL是否都配置正确呢

这个问题,是和test.local这个域名有关吗

.env文件部分配置如下:
SEAFILE_SERVER_PROTOCOL=https
SEADOC_SERVER_URL=https://www.test.local/sdoc-server

启动docker容器后,查看seahub_settings.py,部分内容如下:
SERVICE_URL = “http://www.test.local
FILE_SERVER_ROOT = ‘https://www.test.local/seafhttp’

启用https需要是正规的域名和证书