Francis Lavoie
4 years ago
committed by
GitHub
2 changed files with 36 additions and 1 deletions
@ -0,0 +1,31 @@ |
|||
:80 { |
|||
route { |
|||
# unused matchers should not panic |
|||
# see https://github.com/caddyserver/caddy/issues/3745 |
|||
@matcher1 path /path1 |
|||
@matcher2 path /path2 |
|||
} |
|||
} |
|||
---------- |
|||
{ |
|||
"apps": { |
|||
"http": { |
|||
"servers": { |
|||
"srv0": { |
|||
"listen": [ |
|||
":80" |
|||
], |
|||
"routes": [ |
|||
{ |
|||
"handle": [ |
|||
{ |
|||
"handler": "subroute" |
|||
} |
|||
] |
|||
} |
|||
] |
|||
} |
|||
} |
|||
} |
|||
} |
|||
} |
Loading…
Reference in new issue