summaryrefslogtreecommitdiff
path: root/caddyconfig
diff options
context:
space:
mode:
authorFrancis Lavoie <lavofr@gmail.com>2022-01-18 14:17:35 -0500
committerGitHub <noreply@github.com>2022-01-18 12:17:35 -0700
commitbcb7a19cd3fbc680a017bc2f5aafa71ff77e87e3 (patch)
tree52af9209510cafc0fff34ff376c4c05b1712d913 /caddyconfig
parent6e6ce2be6be004f592978d9f020f0185b40af1a7 (diff)
rewrite: Add `method` Caddyfile directive (#4528)
Diffstat (limited to 'caddyconfig')
-rw-r--r--caddyconfig/httpcaddyfile/directives.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/caddyconfig/httpcaddyfile/directives.go b/caddyconfig/httpcaddyfile/directives.go
index 8d895dd..feb8e91 100644
--- a/caddyconfig/httpcaddyfile/directives.go
+++ b/caddyconfig/httpcaddyfile/directives.go
@@ -45,7 +45,8 @@ var directiveOrder = []string{
"redir",
- // URI manipulation
+ // incoming request manipulation
+ "method",
"rewrite",
"uri",
"try_files",