summaryrefslogtreecommitdiff
path: root/caddyconfig/httpcaddyfile/directives.go
diff options
context:
space:
mode:
authorFrancis Lavoie <lavofr@gmail.com>2021-03-12 15:25:49 -0500
committerGitHub <noreply@github.com>2021-03-12 13:25:49 -0700
commit0d7fe36007d5fbadaa6057b6543500d63147e6c0 (patch)
tree748b591a07fecede95e5fdcca0a53e93010c9af6 /caddyconfig/httpcaddyfile/directives.go
parentf137b82227f7b32b2ca036a89068c806a29a5ac7 (diff)
httpcaddyfile: Add `error` directive for the existing handler (#4034)
* httpcaddyfile: Add `error` directive for the existing handler * httpcaddyfile: Move `error` to the end of the order
Diffstat (limited to 'caddyconfig/httpcaddyfile/directives.go')
-rw-r--r--caddyconfig/httpcaddyfile/directives.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/caddyconfig/httpcaddyfile/directives.go b/caddyconfig/httpcaddyfile/directives.go
index 7f77f49..b4a8407 100644
--- a/caddyconfig/httpcaddyfile/directives.go
+++ b/caddyconfig/httpcaddyfile/directives.go
@@ -70,6 +70,7 @@ var directiveOrder = []string{
"file_server",
"acme_server",
"abort",
+ "error",
}
// directiveIsOrdered returns true if dir is