mirror of
https://github.com/caddyserver/caddy.git
synced 2024-11-25 02:26:57 +08:00
27 lines
290 B
Plaintext
27 lines
290 B
Plaintext
:8080 {
|
|
method FOO
|
|
}
|
|
----------
|
|
{
|
|
"apps": {
|
|
"http": {
|
|
"servers": {
|
|
"srv0": {
|
|
"listen": [
|
|
":8080"
|
|
],
|
|
"routes": [
|
|
{
|
|
"handle": [
|
|
{
|
|
"handler": "rewrite",
|
|
"method": "FOO"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |