mirror of
https://github.com/minio/minio.git
synced 2025-11-07 04:42:56 -05:00
flags: Remove anonymous, ratelimit, json and web-address flags.
- Web address now uses the port + 1 from the API address port directly. - Remove ratelimiting, ratelimiting will be achieved if necessary through iptables. - Remove json flag, not needed anymore. - Remove anonymous flag, server will be no more anonymous for play.minio.io we will use demo credentials.
This commit is contained in:
4
main.go
4
main.go
@@ -121,13 +121,9 @@ func registerApp() *cli.App {
|
||||
// register all flags
|
||||
registerFlag(configFolderFlag)
|
||||
registerFlag(addressFlag)
|
||||
registerFlag(webAddressFlag)
|
||||
registerFlag(accessLogFlag)
|
||||
registerFlag(rateLimitFlag)
|
||||
registerFlag(anonymousFlag)
|
||||
registerFlag(certFlag)
|
||||
registerFlag(keyFlag)
|
||||
registerFlag(jsonFlag)
|
||||
|
||||
// set up app
|
||||
app := cli.NewApp()
|
||||
|
||||
Reference in New Issue
Block a user