summaryrefslogtreecommitdiff
path: root/caddytest/integration/caddyfile_adapt/http_only_on_hostless_block.txt
blob: 9ccc59eb91fb3b5da394209963efc3c88d2510ef (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
# Issue #4113
:80, http://example.com {
	respond "foo"
}
----------
{
	"apps": {
		"http": {
			"servers": {
				"srv0": {
					"listen": [
						":80"
					],
					"routes": [
						{
							"handle": [
								{
									"body": "foo",
									"handler": "static_response"
								}
							]
						}
					]
				}
			}
		}
	}
}