Explorar o código

etcdmain: default "--host-whitelist '*'"

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Gyuho Lee %!s(int64=8) %!d(string=hai) anos
pai
achega
35509bf69c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      etcdmain/help.go

+ 1 - 1
etcdmain/help.go

@@ -150,7 +150,7 @@ security flags:
 		path to the peer certificate revocation list file.
 	--cors '*'
 		comma-separated whitelist of origins for CORS, or cross-origin resource sharing, (empty or * means allow all).
-	--host-whitelist ''
+	--host-whitelist '*'
 		acceptable hostnames from HTTP client requests, if server is not secure (empty or * means allow all).
 
 logging flags