Comments (2)
没发现这个问题啊。你看看这里 http://doc.iminho.me/docs/scm。
你需要在nginx代理里面配置一个选项:
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-Proto $scheme;
否则后台无法获取你访问的host信息。
from mindoc.
好了,可以了。
顺便分享我的MinDoc的部署文件,包含Caddy跟systemd的设置
https://gist.github.com/naokij/260f0551729c74246c8b73fee680336e
Caddy是一个简单易用的web服务器,特色是自动设定好网站SSL证书
Caddy官网
systemd是CentOS 7的启动管理程序
from mindoc.
Related Issues (20)
- 文档图片地址保留了服务器地址,导致更换域名之后无法访问文档中嵌入的图片
- V2.1,期望支持LDAP按照群组导入用户,添加组管理。
- docker 运行不能连接指定数据库,且更改端口不生效 HOT 2
- cherryMarkdown 编辑器不能上传附件 HOT 9
- 导出csv文件,csvExportParams.setSpiltMark();修改默认的分隔符不生效,最后还是以逗号作为分割符 HOT 1
- 空白文档不显示附件的问题
- 上传头像、项目封面图片保存失败 HOT 1
- 建议增加代码复制功能 HOT 8
- 希望增加机器人实时播报新添加文档的功能
- 希望添加对文档内容保存到数据库时做加密,响应时再解密 HOT 2
- 无用附件清理(系统文件和数据库记录) HOT 1
- 有交流群吗? HOT 1
- 哪位好心人导一份数据库表结构给我 HOT 1
- 请问怎样多级显示?有没有事例? HOT 1
- 如何捐助项目? HOT 1
- 关于点击项目封面上传没有反应的问题 HOT 1
- 希望release里的下载包里不要带app.conf文件,否则我下载下来后,解压一升级,我原来的app.conf将被替换,如果没备份,将会特别麻烦,相当于重装一次 HOT 4
- 文章内更换图片服务器地址 HOT 2
- 导入md压缩包是,二级目录下的子目录会丢失 HOT 1
- 创建配置文件监控器失败 -> inotify_init: function not implemented
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mindoc.