admin管理员组文章数量:1530061
注意:
对文件进行了任意修改均需要保存更改并重启服务以使配置更改生效
文件:
使用任意可用的文本编辑器打开 local.json 文件。
对于 Linux:/etc/onlyoffice/documentserver/local.json
对于 Windows:%ProgramFiles%\ONLYOFFICE\DocumentServer\config\local.json
对于 Windows默认:C:\Program Files\ONLYOFFICE\DocumentServer\config\local.json
对于 Docker:使用 docker exec -it <containerID> bash
命令进入 ONLYOFFICE 文档容器并打开/etc/onlyoffice/documentserver/local.json
关闭/开启令牌:
例如:在以下 3 个位置将 false 修改为 true 以启用 Token 验证功能或将 true 修改为 false 关闭 Token 验证功能:
services.CoAuthoring.token.enable.browser
services.CoAuthoring.token.enable.request.inbox
services.CoAuthoring.token.enable.request.outbox
查看编辑密钥:
例如:在以下 3 个部分使用您自己的密钥来进行替换。这里所涉及的密钥必须相同。
services.CoAuthoring.secret.inbox.string
services.CoAuthoring.secret.outbox.string
services.CoAuthoring.secret.session.string
本文标签: 令牌密钥编辑ONLYOFFICE
版权声明:本文标题:OnlyOffice 如何关闭开启令牌、查看编辑密钥 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://m.elefans.com/dongtai/1726672656a1080548.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论