Commit 5fcfdab6 authored by Matthew Holt's avatar Matthew Holt

Reorder basicauth directive; it should also protect redirects

parent 016384ab
...@@ -414,11 +414,11 @@ var directives = []string{ ...@@ -414,11 +414,11 @@ var directives = []string{
"search", // github.com/pedronasser/caddy-search "search", // github.com/pedronasser/caddy-search
"header", "header",
"expires", // github.com/epicagency/caddy-expires "expires", // github.com/epicagency/caddy-expires
"basicauth",
"redir", "redir",
"status", "status",
"cors", // github.com/captncraig/cors/caddy "cors", // github.com/captncraig/cors/caddy
"mime", "mime",
"basicauth",
"jwt", // github.com/BTBurke/caddy-jwt "jwt", // github.com/BTBurke/caddy-jwt
"jsonp", // github.com/pschlump/caddy-jsonp "jsonp", // github.com/pschlump/caddy-jsonp
"upload", // blitznote.com/src/caddy.upload "upload", // blitznote.com/src/caddy.upload
......
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