解决 nextcloud 通过不被信任的域名访问 问题

前置条件:本文讨论的是通过docker安装的nextcloud。如果是直接在宿主机上安装,那么改好配置文件不需要重启容器。 这个问题很好解决,进入到容器,docker exec -it nextcloud bash 然后修改这个文件 /var/www/html/config/config.php 然后修改 trusted_domains 字段 下面两种语法都可以,将新的域名追加到数组后 'trusted_domains' => array ( 0 => '1.1.1.1:8013', 1 => 'cloud.hellodk.cn', ), 或者 'trusted... 阅读全文 »

openwrt通过opkg安装rsync | rsync基本用法介绍教程

安装 rsync 是 remote sync 的意思,本文讨论的使用场景还是在本地拷贝文件,用来替代 cp 和 mv。如果需要通过 rsync 同步其他服务器中的文件,请看文末的引用文章。 rsync - 3.2.3-3 - rsync is a program that allows files to be copied to and from remote machines in much the same way as rcp. It has many more options than rcp, and uses the rsync remote-update protocol... 阅读全文 »

docker安装bitwardenrs并配置ssl,设置cloudflare反向代理 cdn加速 再设置禁用新用户注册并隐藏首页注册按钮

更新 2021-08-24 12:34:36 update 官方的 bitwardenrs docker image 移步了。最新的是:https://hub.docker.com/r/vaultwarden/server 原来的 https://hub.docker.com/r/bitwardenrs/server is deprecated 原文 首先docker的安装没什么好说的,我本次是在centos7 vps上进行的安装。web服务器是nginx。bitwardenrs和bitwarden的区别你也肯定知道,不知道搜一下就行了,我们选择拉取 bitwardenrs 镜像。 ... 阅读全文 »

贝壳云P1 armbian 安装 docker

first, curl -fsSL https://get.docker.com -o get-docker.sh and second, sh get-docker.sh --mirror Aliyun armbian 和 ubuntu 一样都是基于 debian。然后你就可以使用 systemctl 管理 docker 了 比如 systemctl start docker systemctl status docker systemctl restart docker end. 阅读全文 »

一次狗东薅羊毛提现到微信钱包失败引发的排查记录,“无效的openId,当前pin尚未绑定微信”错误

一开始的错误日志是这样的: 省钱大赢家之翻翻乐 【京东账号1】xxx 4点:0.32现金 提现至微信钱包失败 详情:{"success":true,"code":0,"errMsg":"success","data":{"status":"50053","message":"无效的openId,当前pin尚未绑定微信"}} 【京东账号2】yyy 4点:0.32现金 提现至微信钱包失败 详情:{"success":true,"code":0,"errMsg":"success","data":{"status":"50053","message":"无效的openId,当前pin尚未绑... 阅读全文 »