WizTeam / WizNoteLite

WizNote Lite Project
Other
640 stars 77 forks source link

docker私有部署不能同步 #123

Open ldbmcs opened 3 years ago

ldbmcs commented 3 years ago
  1. docker私有部署(8080映射80端口)
  2. 配置https,阿里云免费证书
  3. 使用腾讯云COS

问题:客户端能登录,但是不能同步,同步提示“Sync failed: connect ECONNREFUSED 127.0.0.1:8080”

image

wizweishijun commented 3 years ago

我找同事帮您看看。谢谢

发自我的iPhone

在 2020年11月20日,下午1:47,Yiming notifications@github.com 写道:

 docker私有部署(8080映射80端口) 配置https,阿里云免费证书 使用腾讯云COS 问题:客户端能登录,但是不能同步,同步提示“Sync failed: connect ECONNREFUSED 127.0.0.1:8080”

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

MerlinFeng commented 3 years ago

题主解决了吗,我也遇到了同步失败的问题,但是没有任何提示,我是用开发机,docker部署的

Xenaxxx commented 3 years ago

题主解决了吗,我也遇到了同步失败的问题,但是没有任何提示,我是用开发机,docker部署的

使用nginx反向代理需要配置proxy_set_header server { proxy_set_header X-Real-IP $remote_addr; proxy_set_header x-wiz-real-ip $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_set_header X-Forwarded-Proto $scheme; ...

MerlinFeng commented 3 years ago

题主解决了吗,我也遇到了同步失败的问题,但是没有任何提示,我是用开发机,docker部署的

使用nginx反向代理需要配置proxy_set_header server { proxy_set_header X-Real-IP $remote_addr; proxy_set_header x-wiz-real-ip $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_set_header X-Forwarded-Proto $scheme; ...

??? 这个是?有具体配置吗 改哪里