mirror of
https://github.com/willnorris/imageproxy.git
synced 2026-05-01 15:52:41 +02:00
caddy: bump to caddy 2.8.1 and set directive order
This commit is contained in:
parent
9a0fc21f0c
commit
572ad2db78
3 changed files with 197 additions and 430 deletions
|
|
@ -20,6 +20,7 @@ import (
|
|||
func init() {
|
||||
caddy.RegisterModule(ImageProxy{})
|
||||
httpcaddyfile.RegisterHandlerDirective("imageproxy", parseCaddyfile)
|
||||
httpcaddyfile.RegisterDirectiveOrder("imageproxy", "after", "reverse_proxy")
|
||||
}
|
||||
|
||||
type ImageProxy struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue