u
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
- 设置 ssl 证书
|
- 设置 ssl 证书
|
||||||
```
|
```
|
||||||
certbot certonly -d server.vic.yuanjin.net
|
certbot certonly -d vic-server.bittic.org
|
||||||
```
|
```
|
||||||
- mongodb 设置数据库账号
|
- mongodb 设置数据库账号
|
||||||
- mongodb 配置文件已集成到 `vic.server.mongo/mongod.conf` 中
|
- mongodb 配置文件已集成到 `vic.server.mongo/mongod.conf` 中
|
||||||
@@ -51,4 +51,4 @@
|
|||||||
|
|
||||||
## 部署
|
## 部署
|
||||||
|
|
||||||
- 应用后台主机 `server.vic.yuanjin.net`,用户名 `tic`
|
- 应用后台主机 `vic-server.bittic.org`,用户名 `tic`
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
// port: 80, // 除非80/443意外的非标准端口,才需要定义。这样避免只修改 protocol 而忘了修改 port 造成错误。
|
// port: 80, // 除非80/443意外的非标准端口,才需要定义。这样避免只修改 protocol 而忘了修改 port 造成错误。
|
||||||
protocol: 'http', // by default http for development. Please change to https in configSec.js for production.
|
protocol: 'http', // by default http for development. Please change to https in configSec.js for production.
|
||||||
host: 'server.vic.yuanjin.net',
|
host: 'vic-server.bittic.org',
|
||||||
// sslType: 'file'
|
// sslType: 'file'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user