Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

production config #3

Open
wcg777 opened this issue Aug 21, 2018 · 0 comments
Open

production config #3

wcg777 opened this issue Aug 21, 2018 · 0 comments

Comments

@wcg777
Copy link

wcg777 commented Aug 21, 2018

It words on localhost dev. but when I published, sendDataToNodeJs return "empty reply from server".
could you help me to config the production?
attach config:

'nodeSockets'=>[
'class' => 'digitv\yii2sockets\YiiNodeSocket',
'nodeJsPort' => 3001,
'serviceKey' => 'AB63pz3qIrLOaZiQ...................',
'sessionKeyPrefix' => 'sess_preffix_',
'channelsByPermissions' => [ //use channel_xxxx formating
'channel_order' => 'order',
'channel_product' => 'product',
'channel_manage' => 'manage',
],
'nodeJsScheme' => 'https',
'nodeJsHost' => 'localhost',
'nodeJsHostClient' => 'store..com',
'sslConf'=>[
'key' => '/usr/local/psa/var/modules/letsencrypt/etc/live//privkey.pem',
'cert' => '/usr/local/psa/var/modules/letsencrypt/etc/live//cert.pem',
]
],

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant