Commit Graph

57 Commits

Author SHA1 Message Date
c27f02629d rename envar names from Xxx_Yyy to xxxYyy 2022-06-04 15:59:32 +08:00
ea9f99e047 rename base-envar-config to basend-envar; rename base.webserver to basend-webserver 2022-06-04 09:44:44 +08:00
dc7081a6c9 rename to base-envar-config 2022-06-04 09:01:15 +08:00
19f93f302f u 2022-06-04 08:12:55 +08:00
3d6957ad8b rename configEnvar() to mergeEnvar() 2022-04-30 09:16:40 +08:00
fe3d67ee6b 用 secretEnvarFile 做参数给 maskSecret 2022-04-27 09:04:48 +08:00
52145c676e 随着 base.enviconfig 接受 configFiles 参数,修改调用参数格式 2022-04-24 16:42:58 +08:00
fca99a20df rename envi to envar 2022-04-03 16:19:52 +08:00
6c387470b0 rename Web_Host to Web_Hostname 2022-04-03 14:10:48 +08:00
b1e21fd087 把配置参数改名为 Xxx_Yyy 形式:Web_Protocol/Host/Port/Root/Ssl/Index 2022-04-03 12:50:01 +08:00
a4ea1f2914 u 2022-03-11 13:43:23 +08:00
69d62271a1 remove base.tool, do not show ipv4 by default 2022-03-11 11:51:26 +08:00
b5de51a72d rename base.nettool to base.tool 2022-03-11 10:51:40 +08:00
ea60281bf3 在 httpall 时,定义 port: {portHttp, portHttps} 2021-12-29 21:49:03 +08:00
f407e8a6e9 use reply.writeHead instead of reply.redirect to make sure httpall work 2021-11-28 15:28:47 +08:00
9b2e72c19a bug fix: 作为库使用时,不能 __dirname 作为根目录起点,要用 process.cwd() 2021-10-24 08:45:13 +08:00
2d1dbe8eee u 2021-10-18 21:55:48 +08:00
57b68eb036 u 2021-10-17 11:36:37 +08:00
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
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
31261b6330 rename sol.tool to sol.basetool 2021-06-20 11:55:49 +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
8c49bfc93c npm i 时缺少依赖无法安装了,所以删除 greenlock 2020-08-05 14:27:36 +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
e14439ee17 修正语法错误 2020-03-15 20:08:09 +08:00
a2b9eb1dd8 引用 so.base/config.js 来配置 2020-03-15 19:59:29 +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
8f9794afbf 修正:vhost相关代码片段里用到了 express,需要提前单独定义。 2019-11-24 12:48:49 +08:00