summaryrefslogtreecommitdiff
path: root/caddyconfig/httpcaddyfile/directives.go
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2020-01-22 09:33:53 -0700
committerMatthew Holt <mholt@users.noreply.github.com>2020-01-22 09:33:53 -0700
commit2105d59936039f6ddbe3214711d160e1804523a0 (patch)
treea3a52b51c61b16cb7e9f3ee57ff8c60b4d5f7897 /caddyconfig/httpcaddyfile/directives.go
parent9a1370c2c8fb2c52585971d9eaa6f0c4383cb869 (diff)
httpcaddyfile: Rename 'headers' directive to 'header'
Diffstat (limited to 'caddyconfig/httpcaddyfile/directives.go')
-rw-r--r--caddyconfig/httpcaddyfile/directives.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/caddyconfig/httpcaddyfile/directives.go b/caddyconfig/httpcaddyfile/directives.go
index 94dac21..035dcbe 100644
--- a/caddyconfig/httpcaddyfile/directives.go
+++ b/caddyconfig/httpcaddyfile/directives.go
@@ -38,7 +38,7 @@ var directiveOrder = []string{
"try_files",
"basicauth",
- "headers",
+ "header",
"request_header",
"encode",
"templates",