Skip to content

Commit

Permalink
Fix caddyserver#2 (Replacement doesn't happen - echocat/caddy-filter#2)…
Browse files Browse the repository at this point in the history
… bug of caddy-filter
  • Loading branch information
blaubaer committed Jan 3, 2017
1 parent a1a8d0f commit 740d0a1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion caddyhttp/httpserver/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,9 @@ var directives = []string{
"gzip",
"header",
"errors",
"filter", // github.com/echocat/caddy-filter - Required at this position because if it is
// enabled it captures the response of following
// middlewares and modifies it.
"minify", // github.com/hacdias/caddy-minify
"ipfilter", // github.com/pyed/ipfilter
"ratelimit", // github.com/xuqingfeng/caddy-rate-limit
Expand Down Expand Up @@ -438,7 +441,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 740d0a1

Please sign in to comment.