默认配置写出来有一些问题,以下是推荐配置:
[oss] type = s3 provider = Alibaba access_key_id = xxx secret_access_key = xxx endpoint = oss-cn-beijing-internal.aliyuncs.com acl = private storage_class = STANDARD
一个是增加internal,建议ecs内部开启,另外是storage_class默认是STANDARD,如果归档类型可以选择COLD_ARCHIVE或者STANDARD_IA也是支持的