Merge pull request #2 from riking/patch-1

Update README with new usage, fix the build
This commit is contained in:
Sam 2015-08-25 10:17:40 +10:00
commit 774ddf4690
2 changed files with 5 additions and 4 deletions

View File

@ -10,10 +10,11 @@ Usage:
```
Usage of ./discourse-auth-proxy:
-origin-url="": origin to proxy eg: http://somesecrethost:2001
-proxy-url="": uri to listen on eg: http://localhost:2000
-listen-url="": uri to listen on eg: localhost:2001. leave blank to set equal to proxy-url
-origin-url="": origin to proxy eg: http://localhost:2002
-proxy-url="": outer url of this host eg: http://secrets.example.com
-sso-secret="": SSO secret for origin
-sso-url="": SSO endpoint eg: http://yourdiscourse.com
-sso-url="": SSO endpoint eg: http://discourse.forum.com
```
```

View File

@ -52,7 +52,7 @@ func main() {
}
if *listenUriPtr == "" {
log.Info("Defaulting to listening on the proxy url")
log.Println("Defaulting to listening on the proxy url")
*listenUriPtr = proxyUrl.Host
}