etcdmain: add "--host-whitelist" flag

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
This commit is contained in:
Gyuho Lee
2018-02-27 20:28:22 -08:00
parent 00c1f16f0a
commit 0179d81f22
2 changed files with 14 additions and 4 deletions

View File

@ -158,6 +158,8 @@ security flags:
peer TLS using self-generated certificates if --peer-key-file and --peer-cert-file are not provided.
--peer-crl-file ''
path to the peer certificate revocation list file.
--host-whitelist ''
acceptable hostnames from HTTP client requests, if server is not secure (empty means allow all).
logging flags