server.jsonc 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. "inbounds": [
  3. {
  4. "sniffing": {
  5. "enabled": true,
  6. "destOverride": [
  7. "http",
  8. "tls",
  9. "quic"
  10. ]
  11. },
  12. "port": 443,
  13. "listen": "0.0.0.0",
  14. "protocol": "vless",
  15. "settings": {
  16. "clients": [
  17. {
  18. "id": "UUID" // Change to your UUID.
  19. }
  20. ],
  21. "decryption": "none"
  22. },
  23. "streamSettings": {
  24. "network": "splithttp",
  25. "security": "tls",
  26. "splithttpSettings": {
  27. "path": "/splithttp",
  28. "host": "example.com" // Change to your domain.
  29. },
  30. "tlsSettings": {
  31. "rejectUnknownSni": true,
  32. "minVersion": "1.3",
  33. "alpn": [
  34. "h3" // If you want to use with CDN, you need to change alpn to ["h2", "http/1.1"].
  35. ],
  36. "certificates": [
  37. {
  38. "ocspStapling": 3600,
  39. "certificateFile": "/path/to/fullchain.pem", // Change to your fullchain file path.
  40. "keyFile": "/path/to/privkey.pem" // Change to your private key file path.
  41. }
  42. ]
  43. }
  44. }
  45. }
  46. ],
  47. "outbounds": [
  48. {
  49. "tag": "direct",
  50. "protocol": "freedom"
  51. }
  52. ]
  53. }