From 1ba0bd0a6d85ec646f8a6a2a02a9075e8af4e181 Mon Sep 17 00:00:00 2001 From: Will Norris Date: Fri, 12 May 2023 18:21:55 -0700 Subject: [PATCH] caddy: follow redirects --- caddy/module.go | 1 + 1 file changed, 1 insertion(+) 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 }