Skip to content

Instantly share code, notes, and snippets.

@einnar82
Created March 27, 2020 10:03
Show Gist options
  • Save einnar82/29ed1ebf6ad5c44265718a31315803ca to your computer and use it in GitHub Desktop.
Save einnar82/29ed1ebf6ad5c44265718a31315803ca to your computer and use it in GitHub Desktop.
Laravel Echo Server Config
{
"authHost": "http://localhost",
"authEndpoint": "/broadcasting/auth",
"clients": [],
"database": "redis",
"databaseConfig": {
"redis" : {
"port": "6379",
"host": "localhost"
},
"publishPresence": true
},
"devMode": true,
"host": null,
"port": "6001",
"protocol": "http",
"socketio": {},
"sslCertPath": "",
"sslKeyPath": "",
"sslCertChainPath": "",
"sslPassphrase": "",
"apiOriginAllow":{
"allowCors" : true,
"allowOrigin" : "http://127.0.0.1",
"allowMethods" : "GET, POST",
"allowHeaders" : "Origin, Content-Type, X-Auth-Token, X-Requested-With, Accept, Authorization, X-CSRF-TOKEN, X-Socket-Id"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment