feat: enable HTTPS admin panel on port 443 for new deployments
Add Nginx SSL panel config, enable-panel-https.sh, secure Flask cookies, and update docs for https login. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -46,7 +46,8 @@ bash scripts/install.sh
|
||||
## 架构
|
||||
|
||||
```
|
||||
浏览器 ──► Nginx:80/<PANEL_PATH>/ ──► Web 管理面板
|
||||
浏览器 ──► Nginx:443 HTTPS/<PANEL_PATH>/ ──► Web 管理面板
|
||||
└─► Nginx:80(ACME 验证 + 跳转 HTTPS)
|
||||
│
|
||||
▼
|
||||
render-server.py
|
||||
@@ -66,10 +67,11 @@ bash scripts/install.sh
|
||||
| 端口 | 协议 | 用途 |
|
||||
|------|------|------|
|
||||
| 22 | TCP | SSH |
|
||||
| 80 | TCP | HTTP(ACME + 管理面板) |
|
||||
| 80 | TCP | HTTP(ACME 证书验证 + 跳转 HTTPS) |
|
||||
| 443 | TCP | **HTTPS 管理面板** |
|
||||
| 8443–8499 | UDP | Hysteria2(每节点递增) |
|
||||
|
||||
云厂商安全组需放行 **8443–8499/UDP**。
|
||||
云厂商安全组需放行 **443/TCP** 与 **8443–8499/UDP**。
|
||||
|
||||
---
|
||||
|
||||
@@ -103,7 +105,8 @@ bash scripts/remove-vless.sh
|
||||
├── scripts/
|
||||
│ ├── install.sh # 一键部署
|
||||
│ ├── uninstall.sh # 卸载
|
||||
│ ├── remove-vless.sh # 旧版停用 VLESS
|
||||
│ ├── remove-vless.sh # 旧版停用 VLESS
|
||||
│ ├── enable-panel-https.sh # 启用 HTTPS 面板
|
||||
│ ├── generate-keys.sh # 生成/重置面板密码
|
||||
│ └── render-server.py # 生成 sing-box 配置
|
||||
└── docs/ # 文档
|
||||
|
||||
Reference in New Issue
Block a user