[server.js] remove greenlock; 补充完整 httpall 时也启动 http; [config.js] 默认在开发环境下 http 模式
This commit is contained in:
@@ -14,14 +14,18 @@
|
||||
|
||||
## 配置
|
||||
|
||||
* 设置 ssl 证书
|
||||
```
|
||||
certbot certonly -d server.fiv.tacever.org
|
||||
```
|
||||
* mongodb 设置数据库账号
|
||||
* mongodb 配置文件已集成到 ```fiv.server/mongod.conf``` 中
|
||||
* <font color=red>还需要哪些信息?例如 mongodb 的管理账号和密码?</font>
|
||||
* bindIp: 127.0.0.1 (生产环境)
|
||||
* bindIpAll: true (开发环境)
|
||||
* 编写 ```/fiv.server/configSec.js```,设置HD钱包的根密钥等等
|
||||
* protocol: https (生产环境)
|
||||
* protocol: http (开发环境)
|
||||
* port: 6842 (不要用 80/443,因为这要留给)
|
||||
* port: 6842 (不要用 80/443,因为这要留给certbot)
|
||||
|
||||
## 运行
|
||||
|
||||
|
||||
Reference in New Issue
Block a user