File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -15,14 +15,16 @@ return [
1515 'protocol' => SWOOLE_SOCK_TCP, // SWOOLE_SSL, // SSL-enable the server
1616 'options' => [
1717 // Set the SSL certificate and key paths for SSL support:
18- 'ssl_cert_file' => 'path/to/ssl.crt',
19- 'ssl_key_file' => 'path/to/ssl.key',
18+ // 'ssl_cert_file' => 'path/to/ssl.crt',
19+ // 'ssl_key_file' => 'path/to/ssl.key',
2020 // Whether or not the HTTP server should use coroutines;
2121 // enabled by default, and generally should not be disabled:
2222 'package_eof' => "\n",
2323 'open_eof_check' => true,
2424 'open_length_check' => true,
2525
26+ // in order to run swoole as daemon
27+ 'daemonize' => true,
2628
2729 // Overwrite the default location of the pid file;
2830 // required when you want to run multiple instances of your service in different ports:
@@ -35,4 +37,4 @@ return [
3537 'process-name' => 'dotkernel-queue',
3638 ],
3739 ],
38- ];
40+ ];
You can’t perform that action at this time.
0 commit comments