summaryrefslogtreecommitdiff
path: root/caddytest/integration/caddyfile_adapt/import_args_snippet_env_placeholder.txt
blob: 1bc907e51fa40ffd42eee3068b114ad92b3c0832 (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
(foo) {
	respond {env.FOO}
}

:80 {
	import foo
}
----------
{
	"apps": {
		"http": {
			"servers": {
				"srv0": {
					"listen": [
						":80"
					],
					"routes": [
						{
							"handle": [
								{
									"body": "{env.FOO}",
									"handler": "static_response"
								}
							]
						}
					]
				}
			}
		}
	}
}