Commit fc0f598
committed
v1.3.20 feat: add independent per-protocol ports and domain-based server address
- add independent (non-consecutive) per-protocol port editing in sb -d, keeping the sequential start-port mode with preview confirmation
- sync port changes to the nginx reverse proxy and hot-reload them automatically
- accept an IP or a domain for the server address (DDNS-friendly for NAT VPS whose public IP changes daily), both during install and via sb -d
- switch port occupancy checks to strict matching so 1111 is no longer falsely treated as 11111
v1.3.20 feat: 新增各协议独立端口与域名服务器地址
- sb -d 支持为各协议设置独立(非连续)端口,保留开始端口顺序占用模式并直接预览确认
- 端口变更自动同步 nginx 反代并热加载
- 服务器地址支持填写 IP 或域名(NAT VPS 公网 IP 每日变化时可用 DDNS),新安装与 sb -d 修改均可
- 端口占用检测改为严格匹配,1111 不再误判 11111 占用1 parent 4c9f6fb commit fc0f598
2 files changed
Lines changed: 331 additions & 51 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| |||
161 | 163 | | |
162 | 164 | | |
163 | 165 | | |
| 166 | + | |
| 167 | + | |
164 | 168 | | |
165 | 169 | | |
166 | 170 | | |
| |||
758 | 762 | | |
759 | 763 | | |
760 | 764 | | |
761 | | - | |
| 765 | + | |
0 commit comments