1
0
Fork 0

Update websockets config, added env vars

This commit is contained in:
Daniel Supernault 2019-09-01 18:33:05 -06:00
parent 2fd193edb3
commit c81ff0dc7c
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 6 additions and 4 deletions

View File

@ -47,7 +47,7 @@ return [
/* /*
* This path will be used to register the necessary routes for the package. * This path will be used to register the necessary routes for the package.
*/ */
'path' => 'laravel-websockets', 'path' => 'pxws',
/* /*
* Dashboard Routes Middleware * Dashboard Routes Middleware
@ -98,18 +98,20 @@ return [
* certificate chain of issuers. The private key also may be contained * certificate chain of issuers. The private key also may be contained
* in a separate file specified by local_pk. * in a separate file specified by local_pk.
*/ */
'local_cert' => null, 'local_cert' => env('WSS_LOCAL_CERT', null),
/* /*
* Path to local private key file on filesystem in case of separate files for * Path to local private key file on filesystem in case of separate files for
* certificate (local_cert) and private key. * certificate (local_cert) and private key.
*/ */
'local_pk' => null, 'local_pk' => env('WSS_LOCAL_PK', null),
/* /*
* Passphrase for your local_cert file. * Passphrase for your local_cert file.
*/ */
'passphrase' => null, 'passphrase' => env('WSS_PASSPHRASE', null),
'verify_peer' => env('WSS_VERIFY_PEER', false),
], ],
/* /*