diff --git a/config/template/hysteria/hysteria_tls_config.json b/config/template/hysteria/hysteria_tls_config.json new file mode 100644 index 0000000..56ea8ce --- /dev/null +++ b/config/template/hysteria/hysteria_tls_config.json @@ -0,0 +1,55 @@ +{ + "log": { + "level": "info", + "timestamp": true + }, + "inbounds": [ + { + "type": "hysteria2", + "tag": "hysteria2-in", + "listen": "::", + "listen_port": 8443, + "users": [ + { + "name": "user1", + "password": "你的密码" + } + ], + "up_mbps": 100, + "down_mbps": 100, + "tls": { + "enabled": true, + "server_name": "你的域名", + "alpn": ["h3"], + "acme": { + "domain": ["你的域名"], + "email": "你的邮箱", + "data_directory": "/etc/sing-box/tls/acme", + "dns01_challenge": { + "provider": "cloudflare", + "api_token": "你的Cloudflare_API_Token" + } + } + } + } + ], + "outbounds": [ + { + "type": "direct", + "tag": "direct" + }, + { + "type": "block", + "tag": "block" + } + ], + "route": { + "rules": [ + { + "ip_is_private": true, + "outbound": "block" + } + ], + "final": "direct" + } +} \ No newline at end of file