Commit b89cbe18 authored by Matthew Holt's avatar Matthew Holt

Move header up above errors in directive order (fix #1183)

parent 14500d82
...@@ -407,13 +407,13 @@ var directives = []string{ ...@@ -407,13 +407,13 @@ var directives = []string{
"rewrite", "rewrite",
"ext", "ext",
"gzip", "gzip",
"header",
"errors", "errors",
"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
"search", // github.com/pedronasser/caddy-search "search", // github.com/pedronasser/caddy-search
"header", "expires", // github.com/epicagency/caddy-expires
"expires", // github.com/epicagency/caddy-expires
"basicauth", "basicauth",
"redir", "redir",
"status", "status",
......
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