Skip to content

Commit

Permalink
Fix position of "filter" in directives (#1323)
Browse files Browse the repository at this point in the history
* Fix #2 (Replacement doesn't happen - echocat/caddy-filter#2) bug of caddy-filter

* Fixed gofmt issue.

* Remove comment of reason why we do a reorder
  • Loading branch information
blaubaer authored and mholt committed Jan 3, 2017
1 parent a1a8d0f commit 8b9c9ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion caddyhttp/httpserver/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,7 @@ var directives = []string{
"gzip",
"header",
"errors",
"filter", // github.com/echocat/caddy-filter
"minify", // github.com/hacdias/caddy-minify
"ipfilter", // github.com/pyed/ipfilter
"ratelimit", // github.com/xuqingfeng/caddy-rate-limit
Expand Down Expand Up @@ -438,7 +439,6 @@ var directives = []string{
"hugo", // github.com/hacdias/caddy-hugo
"mailout", // github.com/SchumacherFM/mailout
"awslambda", // github.com/coopernurse/caddy-awslambda
"filter", // github.com/echocat/caddy-filter
}

const (
Expand Down

0 comments on commit 8b9c9ef

Please sign in to comment.