summaryrefslogtreecommitdiff
path: root/caddytest/integration/caddyfile_adapt/matchers_in_route.txt
blob: 01609b03ae3da97f6f24a24d0e2c56fda00b9326 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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"
								}
							]
						}
					]
				}
			}
		}
	}
}