mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-24 20:18:13 +02:00
remove listener access log for mtls for insecure server which can't use mtls
This commit is contained in:
parent
4cd8038472
commit
02483cf935
1 changed files with 0 additions and 5 deletions
|
@ -40,11 +40,6 @@ func (b *Builder) buildMainInsecureListener(
|
|||
li.ListenerFilters = append(li.ListenerFilters, ProxyProtocolFilter())
|
||||
}
|
||||
|
||||
// access log
|
||||
if cfg.Options.DownstreamMTLS.Enforcement == config.MTLSEnforcementRejectConnection {
|
||||
li.AccessLog = append(li.AccessLog, newListenerAccessLog())
|
||||
}
|
||||
|
||||
filter, err := b.buildMainHTTPConnectionManagerFilter(ctx, cfg, fullyStatic)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue