diff options
author | Francis Lavoie <lavofr@gmail.com> | 2022-01-18 14:17:35 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-18 12:17:35 -0700 |
commit | bcb7a19cd3fbc680a017bc2f5aafa71ff77e87e3 (patch) | |
tree | 52af9209510cafc0fff34ff376c4c05b1712d913 /caddytest/integration/caddyfile_adapt | |
parent | 6e6ce2be6be004f592978d9f020f0185b40af1a7 (diff) |
rewrite: Add `method` Caddyfile directive (#4528)
Diffstat (limited to 'caddytest/integration/caddyfile_adapt')
-rw-r--r-- | caddytest/integration/caddyfile_adapt/method_directive.txt | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/caddytest/integration/caddyfile_adapt/method_directive.txt b/caddytest/integration/caddyfile_adapt/method_directive.txt new file mode 100644 index 0000000..786df90 --- /dev/null +++ b/caddytest/integration/caddyfile_adapt/method_directive.txt @@ -0,0 +1,27 @@ +:8080 { + method FOO +} +---------- +{ + "apps": { + "http": { + "servers": { + "srv0": { + "listen": [ + ":8080" + ], + "routes": [ + { + "handle": [ + { + "handler": "rewrite", + "method": "FOO" + } + ] + } + ] + } + } + } + } +}
\ No newline at end of file |