Skip to content

Instantly share code, notes, and snippets.

@discountry
Created June 11, 2025 12:14
Show Gist options
  • Select an option

  • Save discountry/3929ae45a612cfea87f856d43b094282 to your computer and use it in GitHub Desktop.

Select an option

Save discountry/3929ae45a612cfea87f856d43b094282 to your computer and use it in GitHub Desktop.
hysteria yaml
listen: :443
# tls:
# cert: /server.crt
# key: /server.key
acme:
domains:
- hysteria.example.com # 你的域名
email: [email protected] # 你的邮箱
type: dns
dns:
name: cloudflare
config:
cloudflare_api_token: v1234567
auth:
type: password
password: 1234567
masquerade:
type: proxy
proxy:
url: https://news.ycombinator.com/
rewriteHost: true
resolver:
type: udp
tcp:
addr: 8.8.8.8:53
timeout: 4s
udp:
addr: 8.8.4.4:53
timeout: 4s
tls:
addr: 1.1.1.1:853
timeout: 10s
sni: cloudflare-dns.com
insecure: false
https:
addr: 1.1.1.1:443
timeout: 10s
sni: cloudflare-dns.com
insecure: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment