httpupgrade_earlydataShortEarlyData_server.json 927 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. {
  2. "log": {
  3. "error": {
  4. "level": "Debug",
  5. "type": "Console"
  6. },
  7. "access": {
  8. "type": "None"
  9. }
  10. },
  11. "outbounds": [
  12. {
  13. "protocol": "freedom"
  14. }
  15. ],
  16. "inbounds": [
  17. {
  18. "listen": "127.0.0.1",
  19. "port": 17793,
  20. "protocol": "vmess",
  21. "settings": {
  22. "users": [
  23. "bcc71618-e552-42c2-a2a3-d4c17a9df764"
  24. ]
  25. },
  26. "streamSettings": {
  27. "transport": "httpupgrade",
  28. "transportSettings": {
  29. "path": "b66efc0c7752",
  30. "maxEarlyData": 32,
  31. "earlyDataHeaderName": "Sec-Websocket-Key"
  32. },
  33. "security": "tls",
  34. "securitySettings": {
  35. "certificate": [
  36. {
  37. "usage": "ENCIPHERMENT",
  38. "certificateFile": "cert/self-signed_cert.pem",
  39. "keyFile": "cert/self-signed_key.pem"
  40. }
  41. ]
  42. }
  43. }
  44. }
  45. ]
  46. }