Skip to content

Commit

Permalink
Docs: Update gateway.md (#5006)
Browse files Browse the repository at this point in the history
Co-authored-by: zhijian <[email protected]>
  • Loading branch information
DASWU and zhijian-pro authored Jul 19, 2024
1 parent c7efc4f commit 98741c4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/zh_cn/guide/gateway.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ JuiceFS S3 网关的常见的使用场景有:
- 与 S3 网关所在主机处于同一局域网的第三方客户端可以使用 `http://192.168.1.8:9000` 访问(假设启用 S3 网关的主机内网 IP 地址为 192.168.1.8);
- 通过互联网访问 S3 网关可以使用 `http://110.220.110.220:9000` 访问(假设启用 S3 网关的主机公网 IP 地址为 110.220.110.220)。

<iframe src="//player.bilibili.com/player.html?isOutside=true&aid=1706122101&bvid=BV1fT421r72r&cid=1618194316&p=1&autoplay=0" width="100%" height="360" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"> </iframe>

## 访问 S3 网关

各类支持 S3 API 的客户端、桌面程序、Web 程序等都可以访问 JuiceFS S3 网关。使用时请注意 S3 网关监听的地址和端口。
Expand Down Expand Up @@ -135,6 +137,8 @@ $ mc ls juicefs/jfs
juicefs gateway redis://localhost:6379/1 localhost:9000 --multi-buckets
```

<iframe src="//player.bilibili.com/player.html?isOutside=true&aid=1056147201&bvid=BV1LH4y1A73s&cid=1618197063&p=1&autoplay=0" width="100%" height="360" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"> </iframe>

### 保留 etag

默认 S3 网关不会保存和返回对象的 etag 信息,可以通过`--keep-etag` 开启
Expand Down

0 comments on commit 98741c4

Please sign in to comment.