vmess-ws-server.json 792 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {
  2. "log": {
  3. "loglevel": "debug"
  4. },
  5. "inbounds": [
  6. {
  7. "listen": "0.0.0.0",
  8. "port": 1234,
  9. "protocol": "vmess",
  10. "settings": {
  11. "clients": [
  12. {
  13. "id": "b831381d-6324-4d53-ad4f-8cda48b30811"
  14. }
  15. ]
  16. },
  17. "streamSettings": {
  18. "network": "ws",
  19. "security": "tls",
  20. "tlsSettings": {
  21. "serverName": "example.org",
  22. "certificates": [
  23. {
  24. "certificateFile": "/path/to/certificate.crt",
  25. "keyFile": "/path/to/private.key"
  26. }
  27. ]
  28. },
  29. "wsSettings": {
  30. "maxEarlyData": 2048,
  31. "earlyDataHeaderName": ""
  32. }
  33. }
  34. }
  35. ],
  36. "outbounds": [
  37. {
  38. "protocol": "freedom"
  39. }
  40. ]
  41. }