Skip to content

The setting of the parameter "forcepathstyle" is not taking effect #22820

@geniustccc

Description

@geniustccc

When I was accessing Alibaba Cloud OSS using the S3 protocol, I encountered an issue because Alibaba Cloud OSS does not support the path style. According to the documentation, the default value for forcepathstyle is false. However, when I did not set it, forcepathstyle defaulted to the path style, resulting in access to Alibaba Cloud OSS being denied. When I set forcepathstyle to false, I noticed that the constructed URL was still in the path style.
The version I am using was installed from the 2.14.2 offline installer
The configuration is as follows:

Image

The constructed URL is as follows:

Image

https://oss-cn-guangzhou.aliyuncs.com/{mybucketname}/docker/registry/v2/blobs/sha256/35/xxxxxxx

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions