diff --git a/caddy/module.go b/caddy/module.go index 8c2e0ed..f70de81 100644 --- a/caddy/module.go +++ b/caddy/module.go @@ -69,6 +69,7 @@ func (p *ImageProxy) Provision(ctx caddy.Context) error { } p.proxy.Logger = zap.NewStdLog(p.logger) p.proxy.Verbose = p.Verbose + p.proxy.FollowRedirects = true return nil }