From c81ff0dc7cb70657863483ecf27069d8481f5f02 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sun, 1 Sep 2019 18:33:05 -0600 Subject: [PATCH] Update websockets config, added env vars --- config/websockets.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/config/websockets.php b/config/websockets.php index d4b7001a6..76f7f6724 100644 --- a/config/websockets.php +++ b/config/websockets.php @@ -47,7 +47,7 @@ return [ /* * This path will be used to register the necessary routes for the package. */ - 'path' => 'laravel-websockets', + 'path' => 'pxws', /* * Dashboard Routes Middleware @@ -98,18 +98,20 @@ 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('WSS_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('WSS_LOCAL_PK', null), /* * Passphrase for your local_cert file. */ - 'passphrase' => null, + 'passphrase' => env('WSS_PASSPHRASE', null), + + 'verify_peer' => env('WSS_VERIFY_PEER', false), ], /*