查看了FAQ,及各种资料,似乎没有怎么启用HTTPS的,是不是不建议这么做?而是在Nginx上开启HTTPS?
egg-cluster 去参可以传递的,通过 egg-scripts 透传即可。一般来说都是在 Nginx 那层去做的。
发自我的 iPhone
在 2017年8月23日,10:39,hulonghui106 notifications@github.com 写道:
Node Version:
Egg Version:
Plugin Name:
Plugin Version:
Platform:
Mini Showcase Repository:
查看了FAQ,及各种资料,似乎没有怎么启用HTTPS的,是不是不建议这么做?而是在Nginx上开启HTTPS?—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
试了,确实可以,谢谢。
"start": "egg-scripts start --daemon --port=443 --https=true --key='xxxxx.key' --cert='xxxxx.crt'",
@hulonghui106 你这么写不正确 建议这么写
"start": "egg-scripts start --daemon --port=443 --https.key='xxxxx.key' --https.cert='xxxxx.crt'",
因为--https=true会被解析成https='true' 变成string

我这样写,报错了,是我证书有问题,还是什么原因呢;我用的是Nginx的证书,把后缀名.pem 删掉了
我现在用nginx转发,暂时解决了。
我这样写,报错了,是我证书有问题,还是什么原因呢;我用的是Nginx的证书,把后缀名.pem 删掉了
要用 ssh key 的证书
我这样写,报错了,是我证书有问题,还是什么原因呢;我用的是Nginx的证书,把后缀名.pem 删掉了要用 ssh key 的证书
了解了,谢谢
Most helpful comment
试了,确实可以,谢谢。
"start": "egg-scripts start --daemon --port=443 --https=true --key='xxxxx.key' --cert='xxxxx.crt'",