-
思源笔记 docker 部署 https 无法访问静态资源
2021-04-26 10:46修改思源 docker 启动参数为-- 添加了参数 --ssl
docker pull b3log/siyuan && \ docker run \ --name siyuan_server \ -v /siyuan/conf:/siyuan/conf \ -v /siyuan/data:/siyuan/data \ -p 6806:6806 b3log/siyuan \ --resident=true \ --conf=/siyuan/conf/ \ --data=/siyuan/data/ \ --servePath="note.xysycx.cn" \ --ssl
启动日志开始循环出书报错,报错信息如下
2021/04/26 10:41:56 [Recovery] 2021/04/26 - 10:41:56 panic recovered: runtime error: invalid memory address or nil pointer dereference /usr/local/go/src/runtime/panic.go:212 (0x43dc1a) /usr/local/go/src/runtime/signal_unix.go:734 (0x457632) /go/pkg/mod/github.com/gorilla/websocket@v1.4.2/conn.go:1184 (0xa60ef9) /go/pkg/mod/github.com/88250/melody@v0.0.0-20201115062536-c0b3394adcd1/melody.go:172 (0xa60ec8) /go/pkg/mod/github.com/88250/melody@v0.0.0-20201115062536-c0b3394adcd1/melody.go:161 (0xfb8064) /go/src/github.com/siyuan-note/siyuan-src/kernel/server/serve.go:193 (0xfb8001) /go/pkg/mod/github.com/gin-gonic/gin@v1.6.3/context.go:161 (0xe80af0) /go/pkg/mod/github.com/gin-gonic/gin@v1.6.3/recovery.go:83 (0xe80ad7) /go/pkg/mod/github.com/gin-gonic/gin@v1.6.3/context.go:161 (0xe7790f) /go/pkg/mod/github.com/gin-gonic/gin@v1.6.3/gin.go:409 (0xe778f6) /go/pkg/mod/github.com/gin-gonic/gin@v1.6.3/gin.go:367 (0xe773ac) /usr/local/go/src/net/http/server.go:2887 (0x739362) /usr/local/go/src/net/http/server.go:1952 (0x73478c) /usr/local/go/src/runtime/asm_amd64.s:1371 (0x47a220)
-
2019 年 11 月 17 日深夜有感
2019-11-20 09:10鬼刀迷啊老兄,换个友链 🔗
博客名: 雪月书韵茶香
博客地址: https://www.xysycx.cn
座右铭: Ever tried.Ever failed.No matter,Try again.Fail again.Fail better.
头像地址: https://img.xysycx.cn/date/saber.png -
友链交换来啦
2019-10-27 19:25博客名: 雪月书韵茶香
博客地址: https://www.xysycx.cn
座右铭: Ever tried.Ever failed.No matter,Try again.Fail again.Fail better.
头像地址: https://img.xysycx.cn/date/saber.png