Closed marcinmisiak closed 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 ], ...
Hello, sorry for so long response and thank you!
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 ], ...