mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-22 10:25:46 +03: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
|
// directives that add middleware to the stack
|
||||||
"log",
|
"log",
|
||||||
|
"rewrite",
|
||||||
|
"ext",
|
||||||
"gzip",
|
"gzip",
|
||||||
"locale", // github.com/simia-tech/caddy-locale
|
"locale", // github.com/simia-tech/caddy-locale
|
||||||
"errors",
|
"errors",
|
||||||
|
@ -350,10 +352,8 @@ var directives = []string{
|
||||||
"ipfilter", // github.com/pyed/ipfilter
|
"ipfilter", // github.com/pyed/ipfilter
|
||||||
"search", // github.com/pedronasser/caddy-search
|
"search", // github.com/pedronasser/caddy-search
|
||||||
"header",
|
"header",
|
||||||
"cors", // github.com/captncraig/cors/caddy
|
|
||||||
"rewrite",
|
|
||||||
"redir",
|
"redir",
|
||||||
"ext",
|
"cors", // github.com/captncraig/cors/caddy
|
||||||
"mime",
|
"mime",
|
||||||
"basicauth",
|
"basicauth",
|
||||||
"jwt", // github.com/BTBurke/caddy-jwt
|
"jwt", // github.com/BTBurke/caddy-jwt
|
||||||
|
|
Loading…
Reference in a new issue