562 B
562 B
网关使用~/remoteconn现有网关,gateway在本地,wss协议,使用8787端口。外部访问web使用https://shell.biboer.cn:5173。
使用shell.biboer.cn这个域名, https://shell.biboer.cn:5173访问。
Vite 开发服务本身走 HTTPS。我会给项目加一个 dev:https 启动方式(使用证书和私钥)
证书信息: const DEV_PUBLIC_HOST = "shell.biboer.cn"; const DEV_CERT_PATH = "/Users/gavin/.acme.sh/shell.biboer.cn_ecc/fullchain.cer"; const DEV_KEY_PATH = "/Users/gavin/.acme.sh/shell.biboer.cn_ecc/shell.biboer.cn.key";