Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(config): More accurate description about cname_support #238

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading