8000 Release v1.3.0 · tokyohost/v2nodeManager · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

v1.3.0

Latest
Compare
Choose a tag to compare
@tokyohost tokyohost released this 25 Feb 08:31
· 10 commits to master since this release

更新内容

  • 支持soga 安装检测
  • 支持soga 自动安装
  • 支持soga 自动配置
  • 支持soga 版本更新
  • 重构部分代码
  • 修复若干bug

更新注意事项:

旧版用户更新后请执行以下sql

ALTER table v2_file_template
    ADD COLUMN `file_type` varchar(32) DEFAULT NULL COMMENT '配置文件类型' AFTER `file_name`;
update v2_file_template set file_type = 'vmess' where 1=1;
INSERT INTO `sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (107, 'SogaCheckVersion', 'SogaCheckVersion', 'soga version', 'Y', 'admin', '2025-02-24 16:17:15', '', NULL, NULL);
INSERT INTO `sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (108, 'SogaScript', 'SogaScript', 'wget -N https://github.com/sprov065/soga/raw/master/soga.sh  -O soga.sh  && chmod +x soga.sh && bash soga.sh install ', 'Y', 'admin', '2025-02-24 16:22:24', 'admin', '2025-02-25 10:59:56', NULL);
INSERT INTO `sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (109, 'SogaUpdateVersion', 'SogaUpdateVersion', 'soga update {version}', 'Y', 'admin', '2025-02-25 11:27:46', 'admin', '2025-02-25 11:29:49', NULL);


INSERT INTO `v2_file_template` (`id`, `content`, `remark`, `file_name`, `file_type`) VALUES (2, '# 基础配置\ntype=v2board\nserver_type=v2ray\nnode_id=${nodeId}\nsoga_key=\n\n# webapi 或 db 对接任选一个\napi=webapi\n\n# webapi 对接信息\nwebapi_url=${apiHost}\nwebapi_key=${apiKey}\n\n# db 对接信息\ndb_host=\ndb_port=\ndb_name=\ndb_user=\ndb_password=\n\n# 手动证书配置\ncert_file=\nkey_file=\n\n# 自动证书配置\ncert_mode=http\ncert_domain=${certDomain}\ncert_key_length=ec-256\ndns_provider=\n\n# proxy protocol 中转配置\nproxy_protocol=false\nudp_proxy_protocol=false\n\n# 全局限制用户 IP 数配置\nredis_enable=false\nredis_addr=\nredis_password=\nredis_db=0\nconn_limit_expiry=60\n\n# 动态限速配置\ndy_limit_enable=false\ndy_limit_duration=\ndy_limit_trigger_time=60\ndy_limit_trigger_speed=100\ndy_limit_speed=30\ndy_limit_time=600\ndy_limit_white_user_id=\n\n# 其它杂项\nuser_conn_limit=0\nuser_speed_limit=0\nuser_tcp_limit=0\nnode_speed_limit=0\n\ncheck_interval=60\nsubmit_interval=60\nforbidden_bit_torrent=true\nlog_level=info\n\n# 更多配置项请看文档根据需求自行添加\n', NULL, 'soga.conf', 'soga');
0