summaryrefslogtreecommitdiff
path: root/caddytest/integration/caddyfile_adapt/matchers_in_route.txt
blob: 8c587b59be18a8c084aa1761555742122d0580d2 (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"
								}
							]
						}
					]
				}
			}
		}
	}
}