Commit 8b9c9efd authored by Gregor Noczinski's avatar Gregor Noczinski Committed by Matt Holt

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
parent a1a8d0f6
...@@ -410,6 +410,7 @@ var directives = []string{ ...@@ -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{ ...@@ -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 (
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment