zmister2016 / MrDoc

mrdoc,online document system developed based on python. It is suitable for individuals and small teams to manage documents, wiki, knowledge and notes. 觅思文档,适合于个人和中小型团队的在线文档、知识库系统。
https://mrdoc.pro/
GNU General Public License v3.0
2.94k stars 549 forks source link

后台页面和个人页面显示异常 #163

Closed ispace-top closed 1 year ago

ispace-top commented 1 year ago

后台页面和个人页面显示异常

环境版本:

zmister2016 commented 1 year ago

image

检查 Nginx 的 X-Frame-Options 配置项,MrDoc 自身已设置,不需要再通过 Nginx 配置。

ispace-top commented 1 year ago

抱歉,今天新域名备案通过了,已切换到新域名:https://doc.ispace.top。 昨天晚上找到问题原因了: 在conf.ini中配置X-Frame-Options 后,并不会移除原有的X-Frame-Options 属性,导致出现属性冲突了。 我不太懂前端知识,只好在Nginx强制替换了X-Frame-Options 配置就好了。 具体解决过程和错误信息可以参考下我的记录:https://doc.ispace.top/doc/2/