summaryrefslogtreecommitdiff
path: root/caddyconfig
diff options
context:
space:
mode:
authorMatt Holt <mholt@users.noreply.github.com>2020-03-19 11:51:28 -0600
committerGitHub <noreply@github.com>2020-03-19 11:51:28 -0600
commitaa6c5fde07574b48593ddcbf95ca6988c2172b4a (patch)
tree849e349c4a780d9ea6463dab8f7aae06761e0989 /caddyconfig
parent31c6ac097e14776d9a259ba450d096fc61416ebe (diff)
httpcaddyfile: Unify strip_prefix, strip_suffix, uri_replace directives (#3157)
* rewrite: strip_prefix, strip_suffix, uri_replace -> uri (closes #3140) * Add period, to satisfy @whitestrake :) and my own OCD * Restore implied / prefix
Diffstat (limited to 'caddyconfig')
-rw-r--r--caddyconfig/httpcaddyfile/directives.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/caddyconfig/httpcaddyfile/directives.go b/caddyconfig/httpcaddyfile/directives.go
index e7a9686..451850b 100644
--- a/caddyconfig/httpcaddyfile/directives.go
+++ b/caddyconfig/httpcaddyfile/directives.go
@@ -33,9 +33,7 @@ var directiveOrder = []string{
"root",
- "strip_prefix",
- "strip_suffix",
- "uri_replace",
+ "uri",
"try_files",
// middleware handlers that typically wrap responses