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

You're accessing the development server over HTTPS, but it only supports HTTP. #92

Closed davycun closed 3 years ago

davycun commented 3 years ago

server { listen 443 ssl http2; server_name xxx.mydomain.com; include conf.d/common/ssl_cert.conf;

location / {
    proxy_pass https://localhost:10086;
    proxy_set_header Host $host;
  proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  proxy_set_header X-Forwarded-Proto https
  proxy_redirect off;
}

}

通过域名访问报错: You're accessing the development server over HTTPS, but it only supports HTTP.

下面是启动命令: python -u /app/MrDoc/manage.py runserver --noreload 0.0.0.0:10086