自学内容网 自学内容网

onlyoffice8.2 关闭JWT后提示 下载失败

JWT_ENABLED=false

onlyoffice8.2添加上面环境变量禁用JWT后提示下载失败,查看运行日志

[2024-12-10T08:10:49.086] [ERROR] [localhost] [ere333111] [user123] nodeJS - error downloadFile:url=http://192.168.199.129:3330/c.docx;attempt=1;code:null;connect:null Error: DNS lookup 192.168.199.129(family:undefined, host:undefined) is not allowed. Because, It is private IP address.

有这么一段查询资料编辑docker中/etc/onlyoffice/documentserver/default.json​下的内容

"request-filtering-agent" : {
"allowPrivateIPAddress": true,
"allowMetaIPAddress": true
},

改完重启问题解决


原文地址:https://blog.csdn.net/g401946949/article/details/144376873

免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!