Skip to content

Commit

Permalink
docs(config): More accurate description about cname_support (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
owarai authored Feb 27, 2024
1 parent b6312fe commit 75aef9a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ enable_virtual_host_style: false
# cname_support is used when you want access object use your own domain.
# You can aliasing a bucket by adding cname record to map your own domain to some bucket of qingstor.
# then you can access your object of this bucket use your url with object path.
# Note: if this value is set to true, enable_virtual_host_style must be true too.
# if this value is set to true, Note:
# 1. `endpoint` or `host/port/protocol` config item should use custom domain instead;
# 2. enable_virtual_host_style must be true too.
cname_support: false

# optional
Expand Down
6 changes: 4 additions & 2 deletions docs/config_zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,10 @@ endpoint: "https://qingstor.com"
# Also replace previous config item: virtual_host_enabled.
enable_virtual_host_style: false

# 当您希望访问对象使用您自己的域时使用 cname_support(需要先在对象存储中添加对应 cname record)。
# 注意:如果此值设置为 true,则 enable_virtual_host_style 也必须为 true。
# 如果您希望使用自定义域名而非对象域名来访问对象资源时, 可以开启 cname_support(需要先在对象存储中添加对应 cname 记录)。
# 如果此值设置为 true,注意:
# 1. endpoint 配置和 host/port/protocol 配置替换为您的自定义域名
# 2. enable_virtual_host_style 也必须为 true
cname_support: false

# optional
Expand Down

0 comments on commit 75aef9a

Please sign in to comment.