搭建Https域名服务器

使用github的frp搭建使用宝塔申请免费https证书需要关闭宝塔nginx反向代理申请域名后再开启反向代理即可

教程

新版frp搭建教程

启动命令

服务器端

sudo systemctl start frps

本地

cd D:软件安装包frp_0.52.3_windows_amd64
frpc.exe -c frpc.toml

问题

uniapp内网映射导致的 invalid host header

在manifest.jsonh5选项添加如下内容

"devServer": {
	"disableHostCheck": true
}

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注