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:
dekun
2026-06-28 00:46:08 +08:00
parent 5704ab1a0a
commit 78b85c0d83
13 changed files with 175 additions and 47 deletions
+2 -2
View File
@@ -10,12 +10,12 @@ DOMAIN=66.hyf2.cc
# Let's Encrypt 申请证书邮箱
ACME_EMAIL=932465777@qq.com
# 管理面板登录(安装完成后访问 http://域名/PANEL_PATH/
# 管理面板登录(安装完成后访问 https://域名/PANEL_PATH/
PANEL_USERNAME=dekun
PANEL_PASSWORD=Woaini521@
# 面板访问路径(留空则安装时自动生成随机路径,如 jiedian-a1b2c3d4
# 访问示例:http://66.hyf2.cc/jiedian-a1b2c3d4/
# 访问示例:https://66.hyf2.cc/jiedian-a1b2c3d4/
# PANEL_PATH=jiedian-a1b2c3d4
# 可选:仅允许指定 IP 访问面板(留空则不限制)