mirror of
https://github.com/willnorris/imageproxy.git
synced 2024-12-16 21:56:43 -05:00
caddy: follow redirects
This commit is contained in:
parent
67f506bc9b
commit
1ba0bd0a6d
1 changed files with 1 additions and 0 deletions
|
@ -69,6 +69,7 @@ func (p *ImageProxy) Provision(ctx caddy.Context) error {
|
||||||
}
|
}
|
||||||
p.proxy.Logger = zap.NewStdLog(p.logger)
|
p.proxy.Logger = zap.NewStdLog(p.logger)
|
||||||
p.proxy.Verbose = p.Verbose
|
p.proxy.Verbose = p.Verbose
|
||||||
|
p.proxy.FollowRedirects = true
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue