We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65878b0 commit 11a930eCopy full SHA for 11a930e
cli/server.go
@@ -295,7 +295,8 @@ flags, and YAML configuration. The precedence is as follows:
295
return xerrors.Errorf("TLS is disabled. Enable with --tls-enable or specify a HTTP address")
296
}
297
298
- if cfg.AccessURL.String() != "" && cfg.AccessURL.Scheme == "" {
+ if cfg.AccessURL.String() != "" &&
299
+ !(cfg.AccessURL.Scheme == "http" || cfg.AccessURL.Scheme == "https") {
300
return xerrors.Errorf("access-url must include a scheme (e.g. 'http://' or 'https://)")
301
302
0 commit comments