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:
+4
-3
@@ -21,11 +21,12 @@
|
||||
### 访问地址
|
||||
|
||||
```
|
||||
http://你的域名/<PANEL_PATH>/
|
||||
https://你的域名/<PANEL_PATH>/
|
||||
```
|
||||
|
||||
- 必须使用 **HTTP**(端口 80),不要用 HTTPS
|
||||
- `PANEL_PATH` 在安装时生成,保存在 VPS 的 `/opt/jiedian/.env` 中:
|
||||
- 使用 **HTTPS**(443 端口),密码加密传输
|
||||
- 若输入 `http://` 会自动跳转到 HTTPS
|
||||
- `PANEL_PATH` 在 `/opt/jiedian/.env` 中:
|
||||
|
||||
```bash
|
||||
grep PANEL_PATH /opt/jiedian/.env
|
||||
|
||||
Reference in New Issue
Block a user