summaryrefslogtreecommitdiff
path: root/caddyconfig/httpcaddyfile/directives.go
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2020-01-22 09:32:38 -0700
committerMatthew Holt <mholt@users.noreply.github.com>2020-01-22 09:32:38 -0700
commitd810637a9fe2d2015b1f5ad701fdc23f26dda66a (patch)
tree10c402a69a10b17a19d50f971caa78f835930852 /caddyconfig/httpcaddyfile/directives.go
parent5d3ccf1eb79c47c1da37836b60903f26693b8018 (diff)
httpcaddyfile: Update directive docs; put root after rewrite
Diffstat (limited to 'caddyconfig/httpcaddyfile/directives.go')
-rw-r--r--caddyconfig/httpcaddyfile/directives.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/caddyconfig/httpcaddyfile/directives.go b/caddyconfig/httpcaddyfile/directives.go
index 7acdb8c..94dac21 100644
--- a/caddyconfig/httpcaddyfile/directives.go
+++ b/caddyconfig/httpcaddyfile/directives.go
@@ -27,11 +27,11 @@ import (
// directiveOrder specifies the order
// to apply directives in HTTP routes.
var directiveOrder = []string{
- "root",
-
"redir",
"rewrite",
+ "root",
+
"strip_prefix",
"strip_suffix",
"uri_replace",