summaryrefslogtreecommitdiff
path: root/caddyconfig/httpcaddyfile/directives.go
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2019-09-16 11:04:18 -0600
committerMatthew Holt <mholt@users.noreply.github.com>2019-09-16 11:04:18 -0600
commitd030bfdae065c8776e8ac14c0a28f725ec05145c (patch)
tree722a4e4b11993e9eb23664d4e49e87df6c5aa9ed /caddyconfig/httpcaddyfile/directives.go
parentdb4c73dd58b496f2c0c49a38f6c8b5f525456e3e (diff)
httpcaddyfile: static_response -> respond; minor cleanups
Diffstat (limited to 'caddyconfig/httpcaddyfile/directives.go')
-rw-r--r--caddyconfig/httpcaddyfile/directives.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/caddyconfig/httpcaddyfile/directives.go b/caddyconfig/httpcaddyfile/directives.go
index 14c5f44..2f89f6d 100644
--- a/caddyconfig/httpcaddyfile/directives.go
+++ b/caddyconfig/httpcaddyfile/directives.go
@@ -25,7 +25,6 @@ import (
// defaultDirectiveOrder specifies the order
// to apply directives in HTTP routes.
-// TODO: finish the ability to customize this
var defaultDirectiveOrder = []string{
"rewrite",
"try_files",
@@ -34,7 +33,7 @@ var defaultDirectiveOrder = []string{
"encode",
"templates",
"redir",
- "static_response", // TODO: "reply" or "respond"?
+ "respond",
"reverse_proxy",
"php_fastcgi",
"file_server",