在/opt/seafile/conf/seahub_settings.py中添加配置后重启seahub服务
CSRF_TRUSTED_ORIGINS = ['https://xxx.com']
感谢,已解决