mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-13 22:51:08 -05:00
Move rewrite and ext middlewares to before gzip (fixes #914)
This commit is contained in:
parent
d4b10b69a7
commit
065eeb42c3
1 changed files with 3 additions and 3 deletions
|
@ -343,6 +343,8 @@ var directives = []string{
|
|||
|
||||
// directives that add middleware to the stack
|
||||
"log",
|
||||
"rewrite",
|
||||
"ext",
|
||||
"gzip",
|
||||
"locale", // github.com/simia-tech/caddy-locale
|
||||
"errors",
|
||||
|
@ -350,10 +352,8 @@ var directives = []string{
|
|||
"ipfilter", // github.com/pyed/ipfilter
|
||||
"search", // github.com/pedronasser/caddy-search
|
||||
"header",
|
||||
"cors", // github.com/captncraig/cors/caddy
|
||||
"rewrite",
|
||||
"redir",
|
||||
"ext",
|
||||
"cors", // github.com/captncraig/cors/caddy
|
||||
"mime",
|
||||
"basicauth",
|
||||
"jwt", // github.com/BTBurke/caddy-jwt
|
||||
|
|
Loading…
Reference in a new issue