https://github.com/zadam/trilium
- 1.docker本地运行
docker run -d --name trilium -p 8080:8080 -v /home/xxx/docker/trilium-data:/home/node/trilium-data zadam/trilium:latest
- 2.域名dns解析:https://dns.console.aliyun.com/
- 3.配置反向代理:宝塔面板
- 4.域名证书:https://freessl.cn/certlist
- 5.wss协议升级(使内容实时生效)
location /
{
...
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
...
}