mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2025-01-08 04:03:58 +02:00
Metrics server should be constructed with secure bind address for TLS
This commit is contained in:
parent
d64d717e63
commit
17009d8363
@ -8,6 +8,8 @@
|
||||
|
||||
## Changes since v7.1.0
|
||||
|
||||
- [#1133](https://github.com/oauth2-proxy/oauth2-proxy/pull/1133) Metrics server should be constructed with secure bind address for TLS (@JoelSpeed)
|
||||
|
||||
# V7.1.0
|
||||
|
||||
## Release Highlights
|
||||
|
@ -274,7 +274,7 @@ func (p *OAuthProxy) setupServer(opts *options.Options) error {
|
||||
metricsServer, err := proxyhttp.NewServer(proxyhttp.Opts{
|
||||
Handler: middleware.DefaultMetricsHandler,
|
||||
BindAddress: opts.MetricsServer.BindAddress,
|
||||
SecureBindAddress: opts.MetricsServer.BindAddress,
|
||||
SecureBindAddress: opts.MetricsServer.SecureBindAddress,
|
||||
TLS: opts.MetricsServer.TLS,
|
||||
})
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user