update
This commit is contained in:
parent
3318f5b604
commit
e9a5a5b184
29
README.md
29
README.md
@ -48,22 +48,25 @@ download-bandwidth=200
|
|||||||
- 修改gen_cent.sh文件, 把`-subj "/CN=bing.com"`改为其他域名, 例如`-subj "/CN=abc.com" `
|
- 修改gen_cent.sh文件, 把`-subj "/CN=bing.com"`改为其他域名, 例如`-subj "/CN=abc.com" `
|
||||||
- 然后执行`bash gen_cert.sh`重新生成证书文件`server.crt`和`server.key`
|
- 然后执行`bash gen_cert.sh`重新生成证书文件`server.crt`和`server.key`
|
||||||
|
|
||||||
2. 修改hysteria.yaml文件
|
2. 修改`config.json`文件
|
||||||
修改masquerade.proxy.url
|
修改masquerade.proxy.url属性
|
||||||
```yml
|
```json
|
||||||
masquerade:
|
"masquerade": {
|
||||||
type: proxy
|
"type": "proxy",
|
||||||
proxy:
|
"proxy": {
|
||||||
url: https://改为其他tls1.3的域名
|
"url": "https://改为其他tls1.3的域名",
|
||||||
rewriteHost: true
|
"rewriteHost": true
|
||||||
|
}
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
## 服务器端,修改端口
|
## 服务器端,修改端口
|
||||||
修改文件`hysteria.yaml`
|
修改`config.json`文件
|
||||||
```yml
|
```json
|
||||||
listen: :9999 # 改为其他端口
|
{
|
||||||
|
"listen": ":9999", // 改为其他端口
|
||||||
# 省略其他代码...
|
// 省略其他代码...
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
## 服务器端, 升级镜像
|
## 服务器端, 升级镜像
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user