You've already forked docker-volume-backup
mirror of
https://github.com/offen/docker-volume-backup.git
synced 2025-11-23 21:44:40 +02:00
add insecure option, update docs
This commit is contained in:
@@ -106,7 +106,7 @@ func (s *script) init() error {
|
||||
os.Getenv("AWS_SECRET_ACCESS_KEY"),
|
||||
"",
|
||||
),
|
||||
Secure: os.Getenv("AWS_ENDPOINT_PROTO") == "https",
|
||||
Secure: os.Getenv("AWS_ENDPOINT_INSECURE") == "" && os.Getenv("AWS_ENDPOINT_PROTO") == "https",
|
||||
})
|
||||
if err != nil {
|
||||
return fmt.Errorf("init: error setting up minio client: %w", err)
|
||||
|
||||
Reference in New Issue
Block a user