This commit is contained in:
vincent 2024-05-15 21:06:59 +08:00
parent 3318f5b604
commit e9a5a5b184

View File

@ -48,22 +48,25 @@ download-bandwidth=200
- 修改gen_cent.sh文件, 把`-subj "/CN=bing.com"`改为其他域名, 例如`-subj "/CN=abc.com" `
- 然后执行`bash gen_cert.sh`重新生成证书文件`server.crt`和`server.key`
2. 修改hysteria.yaml文件
修改masquerade.proxy.url
```yml
masquerade:
type: proxy
proxy:
url: https://改为其他tls1.3的域名
rewriteHost: true
2. 修改`config.json`文件
修改masquerade.proxy.url属性
```json
"masquerade": {
"type": "proxy",
"proxy": {
"url": "https://改为其他tls1.3的域名",
"rewriteHost": true
}
}
```
## 服务器端,修改端口
修改文件`hysteria.yaml`
```yml
listen: :9999 # 改为其他端口
# 省略其他代码...
修改`config.json`文件
```json
{
"listen": ":9999", // 改为其他端口
// 省略其他代码...
}
```
## 服务器端, 升级镜像