diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2019-12-12 15:46:13 -0700 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2019-12-12 15:46:13 -0700 |
commit | b1a456cfe38e83eedb778032ed6739e7e3cbe8a4 (patch) | |
tree | 7ec9343779274979a50dbb80c10283eee9cc5365 /caddyconfig/httpcaddyfile | |
parent | 5e9d81b507e0beb46b3812e21566bfef79c87af4 (diff) |
rewrite: strip_prefix, strip_suffix, and uri_replace dirs (closes #2906)
Diffstat (limited to 'caddyconfig/httpcaddyfile')
-rw-r--r-- | caddyconfig/httpcaddyfile/directives.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/caddyconfig/httpcaddyfile/directives.go b/caddyconfig/httpcaddyfile/directives.go index 5ec4993..8f30db2 100644 --- a/caddyconfig/httpcaddyfile/directives.go +++ b/caddyconfig/httpcaddyfile/directives.go @@ -27,6 +27,9 @@ import ( // to apply directives in HTTP routes. var defaultDirectiveOrder = []string{ "rewrite", + "strip_prefix", + "strip_suffix", + "uri_replace", "try_files", "basicauth", "headers", |