diff --git a/docs/basic-usage/pusher.md b/docs/basic-usage/pusher.md index 8a8dbd4..219e2c1 100644 --- a/docs/basic-usage/pusher.md +++ b/docs/basic-usage/pusher.md @@ -43,6 +43,10 @@ To do this, you should add the `host` and `port` configuration key to your `conf 'host' => env('PUSHER_APP_HOST', '127.0.0.1'), 'port' => env('PUSHER_APP_PORT', 6001), 'scheme' => env('PUSHER_APP_SCHEME', 'http'), + 'curl_options' => [ + CURLOPT_SSL_VERIFYHOST => 0, + CURLOPT_SSL_VERIFYPEER => 0, + ], ], ], ``` diff --git a/docs/basic-usage/ssl.md b/docs/basic-usage/ssl.md index ad0b021..b538290 100644 --- a/docs/basic-usage/ssl.md +++ b/docs/basic-usage/ssl.md @@ -64,7 +64,13 @@ window.Echo = new Echo({ ## Server configuration -When broadcasting events from your Laravel application to the WebSocket server, you also need to tell Laravel to make use of HTTPS instead of HTTP. You can do this by setting the `scheme` option in your `config/broadcasting.php` file to `https`: +When broadcasting events from your Laravel application to the WebSocket server, you also need to tell Laravel to make use of HTTPS instead of HTTP. You can do this by setting the `PUSHER_APP_SCHEME` variable to `https` + +```env +PUSHER_APP_SCHEME=https +``` + +Your connection from `config/broadcasting.php` would look like this: ```php 'pusher' => [