Commit Graph

100 Commits

Author SHA1 Message Date
c1a7660c38 批量重命名 npm/* 使用标准前缀 base|core|user 2021-09-16 21:53:17 +08:00
2e64e061af upgrade sol.enviconfig to include mergeConfig and getDynamicConfig 2021-09-12 09:55:35 +08:00
cdd08a0022 u 2021-09-09 17:32:13 +08:00
5a2199e165 rename data.log to logbase 2021-09-08 20:31:23 +08:00
cf47c24274 rename 'from' to 'webroot' 2021-09-05 13:47:51 +08:00
90202815d5 change default 'from' value from './dist' to './www' 2021-08-02 07:25:31 +08:00
21f95f6a61 u 2021-08-01 22:50:06 +08:00
a619741d2c rename http2https to redirectHttp2Https, proxy to proxyHttps2Http 2021-08-01 21:59:30 +08:00
f7723e1c60 bugfix: change sol.basetool to so.nettool; remove Multer-related code because this is just a simple static web server. 2021-07-06 10:34:06 +08:00
d0e33a88f2 [package.json] use nodemon instead of node 2021-06-26 09:41:49 +08:00
31261b6330 rename sol.tool to sol.basetool 2021-06-20 11:55:49 +08:00
b86064375c [package.json] rename daemon to drive 2021-06-20 09:20:25 +08:00
6cc40dda52 u 2021-06-19 22:00:33 +08:00
9a76d044d8 rename runenv to prodev 2021-06-19 20:18:51 +08:00
b47663d35c rename sol.sysconfig to sol.enviconfig 2021-06-19 20:00:38 +08:00
698c925c36 reorg so.* to sol.* 2021-05-09 15:51:58 +08:00
a0c355d069 rename env to runenv 2021-03-23 12:55:37 +08:00
0dca26429f use Config.env instead of server.get('env') 2021-03-23 11:12:55 +08:00
b9e9297375 删掉命令行参数 env。如有需要,请用 process.env.NODE_ENV 2021-03-22 14:48:32 +08:00
5ec9cafcd3 u 2021-02-22 12:52:55 +08:00
a74b5e3ad2 不能用 -h 作为 --host 简写,因为和 -h --help 冲突 2021-01-26 20:08:05 +08:00
75c4f1c6a3 调用 so.sysconfig(rawConfig) 来提供基础配置参数,从而可以不提供 ConfigBasic.js 等配置文件。 2021-01-26 20:03:42 +08:00
83581c72c8 允许命令行传入 from 等基本参数 2021-01-26 17:43:21 +08:00
a3665cacdf 换用 npm/so.* 库 2021-01-25 08:52:30 +08:00
ebab1a3122 删掉 so.base,换用 npm/sysconfig 和 webtoken 2021-01-24 11:59:03 +08:00
4aab66a02f 统一更新一批库的版本 2020-10-31 12:10:20 +08:00
8c49bfc93c npm i 时缺少依赖无法安装了,所以删除 greenlock 2020-08-05 14:27:36 +08:00
0afa18eed3 不要打包Config*.js 2020-05-30 14:27:43 +08:00
b99923cd90 纠正:无论有没有用户配置,都要Object.assign(最基础配置,用户配置) 2020-05-30 14:25:22 +08:00
c432743461 fixed: 防止Config.ssl不存在 2020-05-08 10:42:17 +08:00
5834a4167b 把多个 ssl* 选项改为一个 ssl 对象 2020-05-05 09:53:00 +08:00
9e2acb9043 rename config.js to Config.js because since last commit it returns object instead of function" 2020-03-15 20:25:13 +08:00
7488365051 修正 2020-03-15 20:12:18 +08:00
0f86bf6b49 修正语法错误 2020-03-15 20:10:05 +08:00
e14439ee17 修正语法错误 2020-03-15 20:08:09 +08:00
dc5dc64d8d 补充package.json 2020-03-15 20:01:35 +08:00
a2b9eb1dd8 引用 so.base/config.js 来配置 2020-03-15 19:59:29 +08:00
fe8e869419 change deploy type 'web' to 'ssh' 2020-02-23 11:06:19 +08:00
b2a1286fe7 add production configuration 2019-12-14 14:40:57 +08:00
1e324a2498 仅当 ['https', 'httpall'].indexOf(wo.Config.protocol) 时才创建 greenlock 2019-11-24 13:34:37 +08:00
a3f4809870 u 2019-11-24 13:04:35 +08:00
8f9794afbf 修正:vhost相关代码片段里用到了 express,需要提前单独定义。 2019-11-24 12:48:49 +08:00
4169015794 parameter 'dist' rename to 'from' 2019-11-06 14:02:51 +08:00
2a5f295239 parameter 'dist' rename to 'from' 2019-11-06 14:01:56 +08:00
3b5ef883f1 支持 vhosts 配置参数 2019-10-25 14:05:03 +08:00
c3fc3e2c88 添加 dist 参数,用作 webroot 目录 2019-10-25 10:37:54 +08:00
cfd9743f20 up 2019-10-25 00:32:03 +08:00
9a5beef9b1 up 2019-10-24 20:59:49 +08:00
b073f3185f up 2019-10-24 14:59:42 +08:00
199b6c4acd init webserver 2019-10-24 14:46:53 +08:00