From b0c322e5951e2aa65e8e39d55652b6b32cb06b63 Mon Sep 17 00:00:00 2001 From: Olia Lisa Date: Sat, 8 Nov 2025 11:46:45 +0800 Subject: [PATCH] update --- config_template/self_cert_config.json | 24 +++++++++++++++++++ config_template/tls_cert_config.json | 33 +++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 config_template/self_cert_config.json create mode 100644 config_template/tls_cert_config.json diff --git a/config_template/self_cert_config.json b/config_template/self_cert_config.json new file mode 100644 index 0000000..665da91 --- /dev/null +++ b/config_template/self_cert_config.json @@ -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 + } + } +} diff --git a/config_template/tls_cert_config.json b/config_template/tls_cert_config.json new file mode 100644 index 0000000..a10d18b --- /dev/null +++ b/config_template/tls_cert_config.json @@ -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 + } + }, +} \ No newline at end of file