Skip to content

Commit

Permalink
Merge pull request #12 from aios/patch-2
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
stenin-nikita authored Aug 5, 2018
2 parents b5ae3a4 + e860fed commit fbcd46d
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,25 +71,13 @@ For the redis configuration, add a new connection in config/database.php
],
```

and open your config/broadcasting.php and set the redis_connection parameter

```php
'connections' => [
'centrifuge' => [
// ...
'redis_connection' => 'centrifuge',
// ...
],
],
```

You can also add a configuration to your .env file:

```
CENTRIFUGE_SECRET=very-long-secret-key
CENTRIFUGE_URL=http://localhost:8000
CENTRIFUGE_REDIS_API=false
CENTRIFUGE_REDIS_CONNECTION=default
CENTRIFUGE_REDIS_CONNECTION=centrifuge
CENTRIFUGE_REDIS_PREFIX=centrifugo
CENTRIFUGE_REDIS_NUM_SHARDS=0
CENTRIFUGE_SSL_KEY=/etc/ssl/some.pem
Expand Down

0 comments on commit fbcd46d

Please sign in to comment.