mirror of
https://github.com/containous/traefik.git
synced 2025-03-19 18:50:12 +03:00
Check if default servers transport spiffe config is not nil
This commit is contained in:
parent
cd0654026a
commit
194247caae
@ -322,7 +322,7 @@ func (i *Provider) serverTransport(cfg *dynamic.Configuration) {
|
||||
MaxIdleConnsPerHost: i.staticCfg.ServersTransport.MaxIdleConnsPerHost,
|
||||
}
|
||||
|
||||
if i.staticCfg.Spiffe != nil {
|
||||
if i.staticCfg.ServersTransport.Spiffe != nil {
|
||||
st.Spiffe = &dynamic.Spiffe{
|
||||
IDs: i.staticCfg.ServersTransport.Spiffe.IDs,
|
||||
TrustDomain: i.staticCfg.ServersTransport.Spiffe.TrustDomain,
|
||||
|
Loading…
x
Reference in New Issue
Block a user