update
This commit is contained in:
parent
40fdb573b1
commit
b0c322e595
24
config_template/self_cert_config.json
Normal file
24
config_template/self_cert_config.json
Normal 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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
33
config_template/tls_cert_config.json
Normal file
33
config_template/tls_cert_config.json
Normal 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
|
||||||
|
}
|
||||||
|
},
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user