0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-23 22:27:38 -05:00

Fix position of "filter" in directives (#1323)

* Fix #2 (Replacement doesn't happen - https://github.com/echocat/caddy-filter/issues/2) bug of caddy-filter

* Fixed gofmt issue.

* Remove comment of reason why we do a reorder
This commit is contained in:
Gregor Noczinski 2017-01-03 17:03:13 +01:00 committed by Matt Holt
parent a1a8d0f655
commit 8b9c9efdba

View file

@ -410,6 +410,7 @@ var directives = []string{
"gzip", "gzip",
"header", "header",
"errors", "errors",
"filter", // github.com/echocat/caddy-filter
"minify", // github.com/hacdias/caddy-minify "minify", // github.com/hacdias/caddy-minify
"ipfilter", // github.com/pyed/ipfilter "ipfilter", // github.com/pyed/ipfilter
"ratelimit", // github.com/xuqingfeng/caddy-rate-limit "ratelimit", // github.com/xuqingfeng/caddy-rate-limit
@ -438,7 +439,6 @@ var directives = []string{
"hugo", // github.com/hacdias/caddy-hugo "hugo", // github.com/hacdias/caddy-hugo
"mailout", // github.com/SchumacherFM/mailout "mailout", // github.com/SchumacherFM/mailout
"awslambda", // github.com/coopernurse/caddy-awslambda "awslambda", // github.com/coopernurse/caddy-awslambda
"filter", // github.com/echocat/caddy-filter
} }
const ( const (