mirror of
https://github.com/umputun/reproxy.git
synced 2024-09-11 08:55:25 +03:00
update error message
This commit is contained in:
parent
22bea287e4
commit
4126fa7993
@ -405,7 +405,7 @@ func makeSSLConfig() (config proxy.SSLConfig, err error) {
|
|||||||
config.FQDNs = fqdns(opts.SSL.FQDNs)
|
config.FQDNs = fqdns(opts.SSL.FQDNs)
|
||||||
config.RedirHTTPPort = redirHTTPPort(opts.SSL.RedirHTTPPort)
|
config.RedirHTTPPort = redirHTTPPort(opts.SSL.RedirHTTPPort)
|
||||||
default:
|
default:
|
||||||
return config, errors.New("wrong ssl.type value, use 'none', 'static' or 'auto'")
|
return config, fmt.Errorf("Invalid value \"%s\" for SSL_TYPE. Allowed values are: none, static or auto", opts.SSL.Type)
|
||||||
}
|
}
|
||||||
return config, err
|
return config, err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user