修改配置文件模板和配置文件位置
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"listen": ":8004",
|
||||
"tls": {
|
||||
"cert": "/etc/hysteria/server.crt",
|
||||
"key": "/etc/hysteria/server.key"
|
||||
},
|
||||
"auth": {
|
||||
"type": "password",
|
||||
"password": "你的密码"
|
||||
},
|
||||
"obfs": {
|
||||
"type": "salamander",
|
||||
"salamander": {
|
||||
"password": "bLa4AdWOoE57OdtwYa"
|
||||
}
|
||||
},
|
||||
"masquerade": {
|
||||
"type": "proxy",
|
||||
"proxy": {
|
||||
"url": "https://你的域名",
|
||||
"rewriteHost": true
|
||||
}
|
||||
},
|
||||
"bandwidth": {
|
||||
"up": "50 mbps",
|
||||
"down": "100 mbps"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"listen": ":8445",
|
||||
"acme": {
|
||||
"domains": [
|
||||
"你的域名"
|
||||
],
|
||||
"email": "你的邮箱",
|
||||
"type": "dns",
|
||||
"dns": {
|
||||
"name": "cloudflare",
|
||||
"config": {
|
||||
"cloudflare_api_token": "你的cloudflare_api_token"
|
||||
}
|
||||
}
|
||||
},
|
||||
"auth": {
|
||||
"type": "password",
|
||||
"password": "你的密码"
|
||||
},
|
||||
"obfs": {
|
||||
"type": "salamander",
|
||||
"salamander": {
|
||||
"password": "你的混淆密码"
|
||||
}
|
||||
},
|
||||
"masquerade": {
|
||||
"type": "proxy",
|
||||
"proxy": {
|
||||
"url": "https://你的域名",
|
||||
"rewriteHost": true
|
||||
}
|
||||
},
|
||||
"bandwidth": {
|
||||
"up": "50 mbps",
|
||||
"down": "100 mbps"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user