-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.json
45 lines (45 loc) · 1.2 KB
/
schema.json
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/intentionally-left-nil/reverse-proxy/main/schema.json",
"title": "Config",
"description": "Configuration needed to control the reverse-proxy service",
"type": "object",
"properties": {
"email": {
"type": "string",
"description": "Email used to register with acme.sh"
},
"domains": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The domain name to register, e.g. example.com"
},
"aliases": {
"type": "array",
"items": {
"type": "string",
"description": "Any other subdomains that should share the same cert & redirect to the same location"
}
},
"dest": {
"type": "string",
"description": "the URL to forward the http traffic to, e.g. http://app:8000",
"format": "uri"
}
},
"required": [
"name",
"dest"
]
}
}
},
"required": [
"email",
"domains"
]
}