diff --git a/NOTICE b/NOTICE index 3ffed5c2..fbaf93fd 100644 --- a/NOTICE +++ b/NOTICE @@ -1,7 +1,7 @@ Minio Client (C) 2014, 2015 Minio, Inc. This product includes software developed at Minio, Inc. -(http://minio.io/). +(https://minio.io/). The Minio project contains unmodified/modified subcomponents too with separate copyright notices and license terms. Your use of the source diff --git a/README.md b/README.md index 41902926..078774e4 100644 --- a/README.md +++ b/README.md @@ -21,10 +21,10 @@ ### From Binary -Download ``mc`` from http://dl.minio.io:9000/updates/2015/Jun/mc.linux.amd64 +Download ``mc`` from https://dl.minio.io:9000/updates/2015/Jun/mc.linux.amd64 ~~~ -$ wget http://dl.minio.io:9000/updates/2015/Jun/mc.linux.amd64 -O mc +$ wget https://dl.minio.io:9000/updates/2015/Jun/mc.linux.amd64 -O mc $ chmod +x mc $ ./mc ... @@ -40,7 +40,7 @@ $ go get github.com/minio/mc ## Public Minio Server -Minio server is hosted at ``http://play.minio.io:9000`` for public use. This service is primarily intended for developers and users to familiarize themselves with Amazon S3 compatible object storage. Minio runs in memory mode with auto expiry of objects in about an hour. No account signup is required, which means S3 compatible tools and applications can access this service without access and secret keys. +Minio server is hosted at ``https://play.minio.io:9000`` for public use. This service is primarily intended for developers and users to familiarize themselves with Amazon S3 compatible object storage. Minio runs in memory mode with auto expiry of objects in about an hour. No account signup is required, which means S3 compatible tools and applications can access this service without access and secret keys. ## How to use mc? diff --git a/cmd-cp.go b/cmd-cp.go index 7458df21..37068fa1 100644 --- a/cmd-cp.go +++ b/cmd-cp.go @@ -53,10 +53,10 @@ EXAMPLES: $ mc {{.Name}} Music/*.ogg https://s3.amazonaws.com/jukebox/ 2. Copy a bucket recursively from Minio object storage to Amazon S3 object storage. - $ mc {{.Name}} http://play.minio.io:9000/photos/burningman2011... https://s3.amazonaws.com/private-photos/burningman/ + $ mc {{.Name}} https://play.minio.io:9000/photos/burningman2011... https://s3.amazonaws.com/private-photos/burningman/ 3. Copy multiple local folders recursively to Minio object storage. - $ mc {{.Name}} backup/2014/... backup/2015/... http://play.minio.io:9000/archive/ + $ mc {{.Name}} backup/2014/... backup/2015/... https://play.minio.io:9000/archive/ 4. Copy a bucket recursively from aliased Amazon S3 object storage to local filesystem on Windows. $ mc {{.Name}} s3:documents/2014/... C:\backup\2014 diff --git a/cmd-ls.go b/cmd-ls.go index 3aa367b7..fe58343c 100644 --- a/cmd-ls.go +++ b/cmd-ls.go @@ -45,7 +45,7 @@ FLAGS: EXAMPLES: 1. List objects recursively on Minio object storage. - $ mc {{.Name}} http://play.minio.io:9000/backup/... + $ mc {{.Name}} https://play.minio.io:9000/backup/... [2015-03-28 12:47:50 PDT] 34MiB 2006-Jan-1/backup.tar.gz [2015-03-31 14:46:33 PDT] 55MiB 2006-Mar-1/backup.tar.gz @@ -55,7 +55,7 @@ EXAMPLES: [2015-01-15 00:05:40 PST] 0B zek/ 3. List buckets from Amazon S3 object storage and recursively list objects from Minio object storage. - $ mc {{.Name}} https://s3.amazonaws.com/ http://play.minio.io:9000/backup/... + $ mc {{.Name}} https://s3.amazonaws.com/ https://play.minio.io:9000/backup/... 2015-01-15 00:05:40 PST 0B zek/ 2015-03-31 14:46:33 PDT 55MiB 2006-Mar-1/backup.tar.gz diff --git a/cmd-mb.go b/cmd-mb.go index 44f1cc8f..8f0e1ec2 100644 --- a/cmd-mb.go +++ b/cmd-mb.go @@ -52,7 +52,7 @@ EXAMPLES: $ mc {{.Name}} ~/ 3. Create a bucket on Minio object storage. - $ mc {{.Name}} http://play.minio.io:9000/mongodb-backup + $ mc {{.Name}} https://play.minio.io:9000/mongodb-backup `, } diff --git a/cmd-sync.go b/cmd-sync.go index aa33877b..9072d534 100644 --- a/cmd-sync.go +++ b/cmd-sync.go @@ -52,10 +52,10 @@ EXAMPLES: $ mc {{.Name}} star-trek-episode-10-season4.ogg https://s3.amazonaws.com/trekarchive 2. Sync a bucket recursively from Minio object storage to multiple buckets on Amazon S3 object storage. - $ mc {{.Name}} http://play.minio.io:9000/photos/2014... https://s3.amazonaws.com/backup-photos https://s3.amazonaws.com/my-photos + $ mc {{.Name}} https://play.minio.io:9000/photos/2014... https://s3.amazonaws.com/backup-photos https://s3.amazonaws.com/my-photos 3. Sync a local folder recursively to Minio object storage and Amazon S3 object storage. - $ mc {{.Name}} backup/... http://play.minio.io:9000/archive https://s3.amazonaws.com/archive + $ mc {{.Name}} backup/... https://play.minio.io:9000/archive https://s3.amazonaws.com/archive 4. Sync a bucket from aliased Amazon S3 object storage to multiple folders on Windows. $ mc {{.Name}} s3:documents/2014/... C:\backup\2014 C:\shared\volume\backup\2014 diff --git a/cmd-update.go b/cmd-update.go index 92c1565e..96a4d1bc 100644 --- a/cmd-update.go +++ b/cmd-update.go @@ -37,7 +37,7 @@ type Updates struct { } const ( - mcUpdateURL = "http://dl.minio.io:9000/updates/updates.json" + mcUpdateURL = "https://dl.minio.io:9000/updates/updates.json" ) // Help message. @@ -74,7 +74,7 @@ func doUpdateCheck(config *hostConfig) (string, error) { current, _ := time.Parse(time.RFC3339Nano, Version) if current.IsZero() { message := `Version is empty, must be a custom build cannot update. Please download releases from -http://dl.minio.io:9000 for continuous updates` +https://dl.minio.io:9000 for continuous updates` return message, nil } var updates Updates @@ -88,7 +88,7 @@ http://dl.minio.io:9000 for continuous updates` return "No update available at this time", nil } if latest.After(current) { - updateString := "mc cp " + mcUpdateURLParse.Host + string(mcUpdateURLParse.Separator) + updates.Platforms[runtime.GOOS] + " ${HOME}/bin/mc" + updateString := "mc cp " + mcUpdateURLParse.Scheme + "://" + mcUpdateURLParse.Host + string(mcUpdateURLParse.Separator) + updates.Platforms[runtime.GOOS] + " ${HOME}/bin/mc" printUpdateNotify(updateString, "new", "old") return "", nil } diff --git a/cmd_test.go b/cmd_test.go index 56b46118..43120b00 100644 --- a/cmd_test.go +++ b/cmd_test.go @@ -103,7 +103,7 @@ func (s *CmdTestSuite) TestNewConfigV1(c *C) { }, { "play", - "http://play.minio.io:9000", + "https://play.minio.io:9000", }, { "localhost", diff --git a/config.go b/config.go index 19563843..2426f3d1 100644 --- a/config.go +++ b/config.go @@ -192,8 +192,8 @@ func newConfig() (config quick.Config, err error) { aliases := make(map[string]string) aliases["s3"] = "https://s3.amazonaws.com" - aliases["play"] = "http://play.minio.io:9000" - aliases["dl"] = "http://dl.minio.io:9000" + aliases["play"] = "https://play.minio.io:9000" + aliases["dl"] = "https://dl.minio.io:9000" aliases["localhost"] = "http://localhost:9000" conf.Aliases = aliases config, err = quick.New(conf) diff --git a/docs/commands/cp.md b/docs/commands/cp.md index 867fb909..106c4c1a 100644 --- a/docs/commands/cp.md +++ b/docs/commands/cp.md @@ -12,10 +12,10 @@ EXAMPLES: $ mc cp Music/*.ogg https://s3.amazonaws.com/jukebox/ 2. Copy a bucket recursively from Minio object storage to Amazon S3 object storage - $ mc cp http://play.minio.io:9000/photos/burningman2011... https://s3.amazonaws.com/private-photos/burningman/ + $ mc cp https://play.minio.io:9000/photos/burningman2011... https://s3.amazonaws.com/private-photos/burningman/ 3. Copy multiple local folders recursively to Minio object storage - $ mc cp backup/2014/... backup/2015/... http://play.minio.io:9000/archive/ + $ mc cp backup/2014/... backup/2015/... https://play.minio.io:9000/archive/ 4. Copy a bucket recursively from aliased Amazon S3 object storage to local filesystem on Windows. $ mc cp s3:documents/2014/... C:\backup\2014 diff --git a/docs/commands/ls.md b/docs/commands/ls.md index 6a1e14fc..de7b9915 100644 --- a/docs/commands/ls.md +++ b/docs/commands/ls.md @@ -9,7 +9,7 @@ USAGE: EXAMPLES: 1. List objects recursively on Minio object storage - $ mc ls http://play.minio.io:9000/backup/... + $ mc ls https://play.minio.io:9000/backup/... [2015-03-28 12:47:50 PDT] 34MiB 2006-Jan-1/backup.tar.gz [2015-03-31 14:46:33 PDT] 55MiB 2006-Mar-1/backup.tar.gz @@ -19,7 +19,7 @@ EXAMPLES: [2015-01-15 00:05:40 PST] 0B zek/ 3. List buckets from Amazon S3 object storage and recursively list objects from Minio object storage - $ mc ls https://s3.amazonaws.com/ http://play.minio.io:9000/backup/... + $ mc ls https://s3.amazonaws.com/ https://play.minio.io:9000/backup/... [2015-01-15 00:05:40 PST] 0B zek/ [2015-03-31 14:46:33 PDT] 55MiB 2006-Mar-1/backup.tar.gz diff --git a/docs/commands/mb.md b/docs/commands/mb.md index 925489a9..e544ed33 100644 --- a/docs/commands/mb.md +++ b/docs/commands/mb.md @@ -12,8 +12,8 @@ EXAMPLES: $ mc mb https://s3.amazonaws.com/public-document-store 2. Create a bucket on Minio object storage - $ mc mb http://play.minio.io:9000/mongodb-backup + $ mc mb https://play.minio.io:9000/mongodb-backup 3. Create multiple buckets on Amazon S3 object storage and Minio object storage - $ mc mb https://s3.amazonaws.com/public-photo-store http://play.minio.io:9000/mongodb-backup + $ mc mb https://s3.amazonaws.com/public-photo-store https://play.minio.io:9000/mongodb-backup ``` diff --git a/docs/commands/sync.md b/docs/commands/sync.md index 02fb7fdf..cd3a36ca 100644 --- a/docs/commands/sync.md +++ b/docs/commands/sync.md @@ -12,10 +12,10 @@ EXAMPLES: $ mc sync star-trek-episode-10-season4.ogg https://s3.amazonaws.com/trekarchive 2. Sync a bucket recursively from Minio object storage to multiple buckets on Amazon S3 object storage - $ mc sync http://play.minio.io:9000/photos/2014... https://s3.amazonaws.com/backup-photos https://s3.amazonaws.com/my-photos + $ mc sync https://play.minio.io:9000/photos/2014... https://s3.amazonaws.com/backup-photos https://s3.amazonaws.com/my-photos 3. Copy a local folder recursively to Minio object storage and Amazon S3 object storage - $ mc sync backup/... http://play.minio.io:9000/archive https://s3.amazonaws.com/archive + $ mc sync backup/... https://play.minio.io:9000/archive https://s3.amazonaws.com/archive 4. Sync a bucket from aliased Amazon S3 object storage to multiple folders on Windows. $ mc sync s3:documents/2014/... C:\backup\2014 C:\shared\volume\backup\2014