rewrite: Add method Caddyfile directive (#4528)

This commit is contained in:
Francis Lavoie
2022-01-18 14:17:35 -05:00
committed by GitHub
parent 6e6ce2be6b
commit bcb7a19cd3
3 changed files with 48 additions and 1 deletions
@@ -0,0 +1,27 @@
:8080 {
method FOO
}
----------
{
"apps": {
"http": {
"servers": {
"srv0": {
"listen": [
":8080"
],
"routes": [
{
"handle": [
{
"handler": "rewrite",
"method": "FOO"
}
]
}
]
}
}
}
}
}