Merge pull request #102 from bobbyrullo/we_are_your_overlords

cmd/dex-overlord: bind admin API on 127.0.0.1
This commit is contained in:
bobbyrullo 2015-08-31 13:43:50 -07:00
commit d87b5c9bfe

View file

@ -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") 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") 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") localConnectorID := fs.String("local-connector", "local", "ID of the local connector")
logDebug := fs.Bool("log-debug", false, "log debug-level information") logDebug := fs.Bool("log-debug", false, "log debug-level information")