mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-25 20:49:30 +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())
|
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)
|
filter, err := b.buildMainHTTPConnectionManagerFilter(ctx, cfg, fullyStatic)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue