diff options
author | Francis Lavoie <lavofr@gmail.com> | 2021-03-12 15:25:49 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-12 13:25:49 -0700 |
commit | 0d7fe36007d5fbadaa6057b6543500d63147e6c0 (patch) | |
tree | 748b591a07fecede95e5fdcca0a53e93010c9af6 /caddyconfig/httpcaddyfile/directives.go | |
parent | f137b82227f7b32b2ca036a89068c806a29a5ac7 (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.go | 1 |
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 |