summaryrefslogtreecommitdiff
path: root/caddyconfig
diff options
context:
space:
mode:
authorNicola Piccinini <piccinini@gmail.com>2020-11-16 19:43:39 +0100
committerGitHub <noreply@github.com>2020-11-16 11:43:39 -0700
commit670b723e3802ac37942dad07dc194539bccce9ff (patch)
tree248a51fd067a8116ed70685b5d6ba651a4654e06 /caddyconfig
parent13781e67ab1b2553598d0dd1a7153ce3cdbd4879 (diff)
requestbody: Add Caddyfile support (#3859)
* Add Caddyfile support for request_body: ``` request_body { max_size 10000000 } ``` * Improve Caddyfile parser for request_body module * Remove unnecessary `continue` * Add sample for caddyfile_adapt_test
Diffstat (limited to 'caddyconfig')
-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 5d9a339..afa2cd4 100644
--- a/caddyconfig/httpcaddyfile/directives.go
+++ b/caddyconfig/httpcaddyfile/directives.go
@@ -41,6 +41,7 @@ var directiveOrder = []string{
"root",
"header",
+ "request_body",
"redir",
"rewrite",