mirror of
https://github.com/DullJZ/s3-balance.git
synced 2026-09-06 00:06:38 +08:00
full proxy mode
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user