full proxy mode

This commit is contained in:
DullJZ
2025-09-22 23:52:50 +08:00
parent a1b5037174
commit 8ae5b8012a
5 changed files with 42 additions and 13 deletions
+2 -2
View File
@@ -172,8 +172,8 @@ func (c *Config) SetDefaults() {
if c.S3API.SecretKey == "" {
c.S3API.SecretKey = "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"
}
// 默认使用预签名模式(非代理模式)
c.S3API.ProxyMode = false
// 默认使用代理模式(避免302重定向
c.S3API.ProxyMode = true
c.S3API.AuthRequired = false
}