This commit is contained in:
Olia Lisa 2025-11-08 11:46:45 +08:00
parent 40fdb573b1
commit b0c322e595
2 changed files with 57 additions and 0 deletions

View File

@ -0,0 +1,24 @@
{
"listen": ":8004",
"tls": {
"cert": "/etc/hysteria/server.crt",
"key": "/etc/hysteria/server.key"
},
"auth": {
"type": "password",
"password": "你的密码"
},
"obfs": {
"type": "salamander",
"salamander": {
"password": "你的混淆密码"
}
},
"masquerade": {
"type": "proxy",
"proxy": {
"url": "https://bing.com",
"rewriteHost": true
}
}
}

View File

@ -0,0 +1,33 @@
{
"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
}
},
}