Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Jul 7, 2021
1 parent 7641cea commit 86731cb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 20 deletions.
2 changes: 1 addition & 1 deletion bin/createSwooleServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
$serverState['host'] ?? '127.0.0.1',
$serverState['port'] ?? '8080',
SWOOLE_PROCESS,
SWOOLE_SOCK_TCP | ((bool) $config['swoole']['enable-openssl'] ?? 0) * SWOOLE_SSL,
SWOOLE_SOCK_TCP | ((bool) $config['swoole']['ssl'] ?? 0) * SWOOLE_SSL,
);
} catch (Throwable $e) {
Laravel\Octane\Stream::shutdown($e);
Expand Down
19 changes: 0 additions & 19 deletions config/octane.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,25 +168,6 @@
],
],

/*
|--------------------------------------------------------------------------
| Octane Swoole Configuration Options
|--------------------------------------------------------------------------
|
| While using Swoole, you may define additional configuration options as
| required by the application. You maycheck which options you need from:
| https://www.swoole.co.uk/docs/modules/swoole-server/configuration
|
*/

'swoole' => [
'enable-openssl' => false,
'options' => [
// 'ssl_cert_file' => '/etc/swoole/ssl/certs/sail-selfsigned.crt',
// 'ssl_key_file' => '/etc/swoole/ssl/private/sail-selfsigned.key',
],
],

/*
|--------------------------------------------------------------------------
| File Watching
Expand Down

0 comments on commit 86731cb

Please sign in to comment.