docs(minio): clarify nginx installation steps
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
81cd90eae0
commit
97ef204f7c
|
|
@ -104,15 +104,22 @@ sudo chown -R 1000:1000 /data/minio
|
||||||
./deploy.sh list-buckets
|
./deploy.sh list-buckets
|
||||||
```
|
```
|
||||||
|
|
||||||
### 步骤 5: 安装 Nginx 配置 (可选)
|
### 步骤 5: 安装 Nginx 反向代理 (可选)
|
||||||
|
|
||||||
|
> **何时需要 Nginx?**
|
||||||
|
> - 需要通过域名访问 (如 minio.szaiai.com)
|
||||||
|
> - 需要 HTTPS 加密
|
||||||
|
> - 需要 CDN 缓存静态资源
|
||||||
|
>
|
||||||
|
> 如果仅内网直接访问 MinIO (通过 IP:9000/9001),可跳过此步骤。
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd nginx
|
cd nginx
|
||||||
|
|
||||||
# 安装 Nginx 配置
|
# 第一步:安装 Nginx 配置文件
|
||||||
sudo ./install.sh
|
sudo ./install.sh
|
||||||
|
|
||||||
# 配置 SSL 证书
|
# 第二步:配置 SSL 证书 (需要先完成第一步)
|
||||||
sudo ./install.sh --ssl
|
sudo ./install.sh --ssl
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue