forked from mystiq/dex
cmd/dex-overlord: bind admin API on 127.0.0.1
Instead of 0.0.0.0; this is safer, since the admin API is very powerful. fixes #97
This commit is contained in:
parent
40a0a63a3e
commit
9b64ecb2d7
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ func main() {
|
|||
keyPeriod := fs.Duration("key-period", 24*time.Hour, "length of time for-which a given key will be valid")
|
||||
gcInterval := fs.Duration("gc-interval", time.Hour, "length of time between garbage collection runs")
|
||||
|
||||
adminListen := fs.String("admin-listen", "http://0.0.0.0:5557", "scheme, host and port for listening for administrative operation requests ")
|
||||
adminListen := fs.String("admin-listen", "http://127.0.0.1:5557", "scheme, host and port for listening for administrative operation requests ")
|
||||
|
||||
localConnectorID := fs.String("local-connector", "local", "ID of the local connector")
|
||||
logDebug := fs.Bool("log-debug", false, "log debug-level information")
|
||||
|
|
Loading…
Reference in a new issue