diff --git a/website/docs/advanced-usage/external-storage.md b/website/docs/advanced-usage/external-storage.md index 0c38be21..59183d33 100644 --- a/website/docs/advanced-usage/external-storage.md +++ b/website/docs/advanced-usage/external-storage.md @@ -9,7 +9,7 @@ As the usage scale progresses, the user's storage cost for the Tailchat file sys ## Prerequisites -- The service needs to support `aws s3` storage protocol +- The external storage service needs to support `aws s3` storage protocol - `Tailchat` version in `1.8.7+` ## Config @@ -19,7 +19,7 @@ You need to configure the environment variables as follows: - `MINIO_USER`: s3 service username - `MINIO_PASS`: s3 service password - `MINIO_BUCKET_NAME`: s3 service bucket name -- `MINIO_PATH_STYLE`: path mode, `VirtualHosted` or `Path` +- `MINIO_PATH_STYLE`: path mode, optional values: `VirtualHosted` or `Path` - `STATIC_URL`: The uploaded static path address, which is transferred by the server by default. If you want to directly connect to external storage, you need to change it to an externally accessible address > For `aliyunoss`, we can refer to this document for content-related help: https://www.alibabacloud.com/help/en/oss/developer-reference/use-amazon-s3-sdks-to-access-oss diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/advanced-usage/external-storage.md b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/advanced-usage/external-storage.md index bdc52d7c..0e22cab9 100644 --- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/advanced-usage/external-storage.md +++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/advanced-usage/external-storage.md @@ -9,7 +9,7 @@ title: 外部存储 ## 前提条件 -- 该服务需要支持 `aws s3` 存储协议 +- 该外部存储服务需要支持 `aws s3` 存储协议 - `Tailchat` 版本在 `1.8.7+` ## 配置 @@ -19,7 +19,7 @@ title: 外部存储 - `MINIO_USER`: s3服务用户名 - `MINIO_PASS`: s3服务密码 - `MINIO_BUCKET_NAME`: s3服务 bucket 名 -- `MINIO_PATH_STYLE`: 路径模式,`VirtualHosted` or `Path` +- `MINIO_PATH_STYLE`: 路径模式,可选值: `VirtualHosted` 或 `Path` - `STATIC_URL`: 上传后的静态路径地址,默认走服务器中转,如果想要走外部存储直连的话需要改为外部可访问的地址 > 对于 `aliyunoss` 我们可以参考该文档获得内容相关帮助: https://www.alibabacloud.com/help/en/oss/developer-reference/use-amazon-s3-sdks-to-access-oss