appstore-1panel/apps/2fauth/README.md
2024-07-31 13:53:38 +08:00

13 lines
675 B
Markdown
Raw Permalink 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.

# 设置
## **启用 HTTPS**
- **创建应用**:外部地址填写 `https://2fauth.example.com`(请根据实际情况替换域名)。
- **创建反向代理网站**:代理地址填写 `http://127.0.0.1:8000`(请根据实际情况替换 IP 和端口)。
- **申请证书**:为 `2fauth.example.com` 创建证书,验证方式选择 HTTP 类型。
- **启用 HTTPS**:进入网站设置页面,点击 HTTPS选择刚刚添加的证书并保存。
## **不启用 HTTPS**
- 如果不启用 HTTPS会导致无法扫描二维码等问题。在这种情况下外部地址可以直接填写 `http://192.168.10.100:8000`,无需进行反向代理设置。