oncesk / yii-node-socket

66 stars 46 forks source link

Elephant.io URL http or https #94

Closed marcinmisiak closed 5 years ago

marcinmisiak commented 5 years ago

add public $protocol; if config components (web.php): 'components' => [ 'nodeSocket' => [ 'class' => '\YiiNodeSocket\NodeSocket', 'host' => 'www.wp.pl', 'port' => 8443, 'origin' => ':', 'sessionVarName' => 'PHPSESSID', 'socketLogFile' => '/var/log/node-socket.log', 'allowedServerAddresses' => [ "localhost", 'www.wp.pl' ], 'protocol' => 'https', // for elefhant http or https ], ...

oncesk commented 5 years ago

Hello, sorry for so long response and thank you!