腾讯云 Caddy 反向代理部署方案
1. 架构说明 公网用户 ↓ HTTPS 腾讯云轻量服务器 Caddy ↓ WireGuard 隧道 飞牛 OS 服务 关键地址: 腾讯云公网 IP:<PUBLIC_IPV4> 飞牛 WireGuard IP:10.66.66.2 Caddy 部署位置:腾讯云轻量服务器 Caddy 运行方式:Docker Compose Caddy 负…
VPS + 家宽NAS + WireGuard 公网IPV4方案
1. 架构说明 目标链路: 腾讯云轻量服务器 ↓ WireGuard 隧道 家宽飞牛 OS 用途: 1. 腾讯云作为公网 IPv4 入口 2. 飞牛 OS 主动连接腾讯云 3. 家里路由器不开放任何入站端口 4. 后续由腾讯云 Caddy 反代飞牛服务 最终架构: 公网用户 ↓ 腾讯云公网 IPv4 ↓ 腾讯云 Caddy ↓ 腾讯云 WireGu…
OnlyOffice在线文档集成方案
1.在index.html文件中使用script引入后端服务部署后生成的onlyOffice js文件 <script  type="text/javascript"  src="http://10.50.192.2:7012/web-apps/apps/api/documents/api.js"  ></script> 2.创建公用配…
在项目中快速使用MQTT,以及topic详解
如何在项目中使用MQTT 安装mqtt pnpm i mqtt 封装工具类和Hooks 工具类 import type { MqttClient, OnMessageCallback } from 'mqtt'; import * as mqtt from 'mqtt/dist/mqtt.min.js'; ​ class MQTT {  url: …
使用Nest.js与TypeORM搭建Node服务
官方文档 Nest https://www.nestjs.com.cn/ TypeOrm https://typeorm.bootcss.com/ 项目demo https://github.com/KwiTsukasa/starlight-blog-api.git 1.环境准备 1-1.全局安装@nestjs/cli并初始化 npm i -g @…