0
Fork 0
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:
Will Norris 2023-05-12 18:21:55 -07:00
parent 67f506bc9b
commit 1ba0bd0a6d

View file

@ -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
} }