Files
jiedian/.env.example
T
dekun f0a3317e8b feat: proxy admin panel via nginx port 80 to avoid exposing 8444
Route the panel through a secret subpath on port 80, remove the separate
8444 listener, and document common troubleshooting in docs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-16 09:45:26 +08:00

31 lines
890 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 复制为 .env 后填写,部署脚本会读取这些变量
# cp .env.example .env
# VPS 公网 IP
VPS_IP=47.76.87.111
# 域名(Hysteria2 证书 + 管理面板)
DOMAIN=66.hyf2.cc
# Let's Encrypt 申请证书邮箱
ACME_EMAIL=932465777@qq.com
# Reality 伪装目标(真实大站,不要用你自己的域名)
REALITY_SERVER_NAME=www.microsoft.com
# 管理面板登录(安装完成后访问 http://域名/PANEL_PATH/
PANEL_USERNAME=dekun
PANEL_PASSWORD=Woaini521@
# 面板访问路径(留空则安装时自动生成随机路径,如 jiedian-a1b2c3d4
# 访问示例:http://66.hyf2.cc/jiedian-a1b2c3d4/
# PANEL_PATH=jiedian-a1b2c3d4
# 可选:仅允许指定 IP 访问面板(留空则不限制)
# PANEL_ALLOW_IP=1.2.3.4
# 以下由 scripts/generate-keys.sh 自动生成,也可手动填写
# REALITY_PRIVATE_KEY=
# REALITY_PUBLIC_KEY=
# REALITY_SHORT_ID=