Update websockets.php (#132)

Accept SSL certificate paths through `.env` file.

This is to support projects that exist as multiple clones of the same repository.

`config/websockets.php` is generally tracked by git, making it difficult to pick the unique certificates, per installation.
This commit is contained in:
Jadon 2019-05-11 08:49:40 +02:00 committed by Marcel Pociot
parent aecbfeebe7
commit 03c9835b5d
1 changed files with 3 additions and 3 deletions

View File

@ -102,18 +102,18 @@ return [
* certificate chain of issuers. The private key also may be contained
* in a separate file specified by local_pk.
*/
'local_cert' => null,
'local_cert' => env('LARAVEL_WEBSOCKETS_SSL_LOCAL_CERT', null),
/*
* Path to local private key file on filesystem in case of separate files for
* certificate (local_cert) and private key.
*/
'local_pk' => null,
'local_pk' => env('LARAVEL_WEBSOCKETS_SSL_LOCAL_PK', null),
/*
* Passphrase for your local_cert file.
*/
'passphrase' => null,
'passphrase' => env('LARAVEL_WEBSOCKETS_SSL_PASSPHRASE', null),
],
/*