caddy: bump to caddy 2.8.1 and set directive order

This commit is contained in:
Will Norris 2024-06-01 16:45:20 -07:00
parent 9a0fc21f0c
commit 572ad2db78
3 changed files with 197 additions and 430 deletions

View file

@ -20,6 +20,7 @@ import (
func init() {
caddy.RegisterModule(ImageProxy{})
httpcaddyfile.RegisterHandlerDirective("imageproxy", parseCaddyfile)
httpcaddyfile.RegisterDirectiveOrder("imageproxy", "after", "reverse_proxy")
}
type ImageProxy struct {