Skip to content

Commit ca4b14a

Browse files
committed
fix
1 parent 56d544a commit ca4b14a

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

docs/zh/integration/virtual.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,6 @@ RustFS 100%的符合S3存储协议的要求,在S3存储时,请求路径分
1414
这两种模式的核心区别在于如何将存储桶(Bucket)的名称放入请求的 URL 中。
1515

1616

17-
18-
|特性 | 虚拟主机模式 (Virtual Host Style) |路径模式 (Path Style)|
19-
| - | - | - |
20-
|URL 格式 | https://<bucket>.<endpoint>/<object> |https://<endpoint>/<bucket>/<object> |
21-
|存储桶位置 | 在主机名(域名)中,作为子域名 | 在 URL 路径中|
22-
|示例| https://my-bucket.s3.rustfs.com/cat.jpg | https://s3.rustfs.com/my-bucket/cat.jpg |
23-
24-
25-
2617
## 1. Path style mode
2718

2819
在启动的时,默认使用Path style模式。Path style模式的特点是桶名在Endpoint接入端点后,假设主机名为rustfs.com,桶名为test,那么Path style拼接下来的路径为:
@@ -42,9 +33,7 @@ http://rustfs.com/test
4233
在启动的时,可以将模式改为Virtual Host Style。Virtual Host Style模式的特点是桶名在为域名的一部份,假设主机名为rustfs.com,桶名为test,那么Virtual Host Style拼接下来的路径为:
4334

4435
~~~
45-
4636
http://test.rustfs.com/
47-
4837
~~~
4938

5039

0 commit comments

Comments
 (0)