docker版为知笔记同步附件失败怎么办?

[复制链接]
查看: 3252   回复: 6
发表于 2021-11-29 19:12:13 | 显示全部楼层 |阅读模式
我没有全球为知论坛的意思,但是这个文章的确不多。
我用的Nginx反带的docker。使用了SSL
搜索文章,解决了 登录问题,现在又发现附件同步问题了....

https://www.wiz.cn/zh-cn/docker-https
我已经按照配置了。。。
回复

使用道具 举报

 楼主| 发表于 2021-11-29 19:12:50 | 显示全部楼层
具体什么问题,电脑网页端上传,手机端同步不出来,无法下载?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2021-11-29 19:13:26 | 显示全部楼层
网页端也上传不上去,客户端也上传不上去:'(
回复 支持 反对

使用道具 举报

 楼主| 发表于 2021-11-29 19:14:13 | 显示全部楼层
附件不能上传。那肯定是搭建就有问题。
没遇到过。
一般就docker运行,然后nginx反代。

我的nginx反代
  1. server {        listen 80;        #listen [::]:80;        server_name note.aabb.live;        #如果需要http 301跳转到 https 需要将下面行前面的 # 注释去掉,并重载nginx        return 301 https://$host$request_uri;        location / {            proxy_pass http://127.0.0.1:9000;            proxy_http_version    1.1;            proxy_cache_bypass    $http_upgrade;            proxy_set_header Upgrade            $http_upgrade;            proxy_set_header Connection         "upgrade";            proxy_set_header Host               $host;            proxy_set_header X-Real-IP          $remote_addr;            proxy_set_header X-Forwarded-For    $proxy_add_x_forwarded_for;            proxy_set_header X-Forwarded-Proto  $scheme;            proxy_set_header X-Forwarded-Host   $host;            proxy_set_header X-Forwarded-Port   $server_port;        }        access_log off;}server {        listen 443 ssl http2;        #listen [::]:443 ssl http2;        server_name note.aabb.live;        ssl_certificate /etc/ssl/note.aabb.live.crt;        ssl_certificate_key /etc/ssl/note.aabb.live.key;        ssl_session_timeout 5m;        ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;        ssl_prefer_server_ciphers on;        ssl_ciphers "TLS13-AES-256-GCM-SHA384:TLS13-CHACHA20-POLY1305-SHA256:TLS13-AES-128-GCM-SHA256:TLS13-AES-128-CCM-8-SHA256:TLS13-AES-128-CCM-SHA256:EECDH+CHACHA20:EECDH+CHACHA20-draft:EECDH+AES128:RSA+AES128:EECDH+AES256:RSA+AES256:EECDH+3DES:RSA+3DES:!MD5";        ssl_session_cache builtin:1000 shared:SSL:10m;        #openssl dhparam -out /usr/local/nginx/conf/ssl/dhparam.pem 2048        #ssl_dhparam /usr/local/nginx/conf/ssl/dhparam.pem;        location / {            proxy_pass http://0.0.0.0:9000;            proxy_http_version    1.1;            proxy_cache_bypass    $http_upgrade;            proxy_set_header Upgrade            $http_upgrade;            proxy_set_header Connection         "upgrade";            proxy_set_header Host               $host;            proxy_set_header X-Real-IP          $remote_addr;            proxy_set_header X-Forwarded-For    $proxy_add_x_forwarded_for;            proxy_set_header X-Forwarded-Proto  $scheme;            proxy_set_header X-Forwarded-Host   $host;            proxy_set_header X-Forwarded-Port   $server_port;        }        access_log off;}
复制代码


内存够,docker运行正常。那可能是nginx问题吧。nginx用的docker,还是宿主机本机安装的nginx?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2021-11-29 19:14:56 | 显示全部楼层
万亩斜阳 发表于 2021-11-29 18:47
附件不能上传。那肯定是搭建就有问题。
没遇到过。
一般就docker运行,然后nginx反代。
是的 宿主机装的 。
嗯。。。。公司网络拦截了。。。。。手机就没问题。。。。。
回复 支持 反对

使用道具 举报

发表于 2021-11-29 19:15:13 | 显示全部楼层
感觉这个为知笔记自建并不太好用,我上次按教程docker升级了一下,全没了,还好有备份,onenote挺好用的
回复 支持 反对

使用道具 举报

发表于 2021-11-29 19:15:37 | 显示全部楼层
挂载到宿主机的,当然要备份升级了:lol
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则