git.iko.soy/typeable/oauth2-proxy
on master help sign in
Add redis-connection-url flag
5095c36Joel Speed
@@ -76,6 +76,7 @@ func main() {
76 flagSet.Bool("cookie-httponly", true, "set HttpOnly cookie flag")
76 flagSet.Bool("cookie-httponly", true, "set HttpOnly cookie flag")
77
77
78 flagSet.String("session-store-type", "cookie", "the session storage provider to use")
78 flagSet.String("session-store-type", "cookie", "the session storage provider to use")
79+ flagSet.String("redis-connection-url", "", "URL of redis server for redis session storage (eg: redis://HOST[:PORT])")
79
80
80 flagSet.String("logging-filename", "", "File to log requests to, empty for stdout")
81 flagSet.String("logging-filename", "", "File to log requests to, empty for stdout")
81 flagSet.Int("logging-max-size", 100, "Maximum size in megabytes of the log file before rotation")
82 flagSet.Int("logging-max-size", 100, "Maximum size in megabytes of the log file before rotation")