caddy/caddytest/integration/caddyfile_adapt/method_directive.caddyfiletest

27 lines
No EOL
290 B
Text

:8080 {
method FOO
}
----------
{
"apps": {
"http": {
"servers": {
"srv0": {
"listen": [
":8080"
],
"routes": [
{
"handle": [
{
"handler": "rewrite",
"method": "FOO"
}
]
}
]
}
}
}
}
}