laravel-echo-server.json.configed 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. {
  2. "authHost": "https://localhost",
  3. "authEndpoint": "/broadcasting/auth",
  4. "clients": [
  5. {
  6. "appId": "3ce79ec696215d04",
  7. "key": "e68440520697de422639b451f760f208"
  8. },
  9. {
  10. "appId": "wcs",
  11. "key": "62c8838fa8546ad1f1784327a6d25df2"
  12. }
  13. ],
  14. "database": "redis",
  15. "databaseConfig": {
  16. "redis": {
  17. "port": "6379",
  18. "host": "127.0.0.1"
  19. },
  20. "sqlite": {
  21. "databasePath": "/database/laravel-echo-server.sqlite"
  22. }
  23. },
  24. "devMode": false,
  25. "host": null,
  26. "port": "6001",
  27. "protocol": "https",
  28. "socketio": {},
  29. "secureOptions": 67108864,
  30. "sslCertPath": "/etc/letsencrypt/live/was.baoshi56.com/fullchain.pem",
  31. "sslKeyPath": "/etc/letsencrypt/live/was.baoshi56.com/privkey.pem",
  32. "sslCertChainPath": "",
  33. "sslPassphrase": "",
  34. "subscribers": {
  35. "http": true,
  36. "redis": true
  37. },
  38. "apiOriginAllow": {
  39. "allowCors" : true,
  40. "allowOrigin" : "http://127.0.0.1",
  41. "allowMethods" : "GET, POST",
  42. "allowHeaders" : "Origin, Content-Type, X-Auth-Token, X-Requested-With, Accept, Authorization, X-CSRF-TOKEN, X-Socket-Id"
  43. }
  44. }