From ede6300a843b45d9658b40e5f1821979173b6a1a Mon Sep 17 00:00:00 2001 From: Eric Chiang Date: Mon, 25 Jul 2016 09:05:28 -0700 Subject: [PATCH] *: by default, have dex listen at a non-root url --- cmd/dex-worker/main.go | 2 +- examples/app/main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/dex-worker/main.go b/cmd/dex-worker/main.go index ac9b141a..aef6f6c0 100644 --- a/cmd/dex-worker/main.go +++ b/cmd/dex-worker/main.go @@ -33,7 +33,7 @@ func main() { fs := flag.NewFlagSet("dex-worker", flag.ExitOnError) listen := fs.String("listen", "http://127.0.0.1:5556", "the address that the server will listen on") - issuer := fs.String("issuer", "http://127.0.0.1:5556", "the issuer's location") + issuer := fs.String("issuer", "http://127.0.0.1:5556/dex", "the issuer's location") certFile := fs.String("tls-cert-file", "", "the server's certificate file for TLS connection") keyFile := fs.String("tls-key-file", "", "the server's private key file for TLS connection") diff --git a/examples/app/main.go b/examples/app/main.go index 320a33ec..3344dde5 100644 --- a/examples/app/main.go +++ b/examples/app/main.go @@ -43,7 +43,7 @@ func main() { certFile := fs.String("tls-cert-file", "", "the TLS cert file. If empty, the app will listen on HTTP") keyFile := fs.String("tls-key-file", "", "the TLS key file. If empty, the app will listen on HTTP") - discovery := fs.String("discovery", "http://127.0.0.1:5556", "") + discovery := fs.String("discovery", "http://127.0.0.1:5556/dex", "") logDebug := fs.Bool("log-debug", false, "log debug-level information") logTimestamps := fs.Bool("log-timestamps", false, "prefix log lines with timestamps")