v0.5: (BREAKING) simplified config format, improved error output, updated proxy entry default value for 'port'

This commit is contained in:
default
2024-08-14 02:41:11 +08:00
parent 23e7d06081
commit 719693deb7
21 changed files with 197 additions and 302 deletions

View File

@@ -37,7 +37,7 @@
]
},
"host": {
"anyOf": [
"oneOf": [
{
"type": "string",
"format": "ipv4",
@@ -69,9 +69,7 @@
"set_headers": {},
"hide_headers": {}
},
"required": [
"host"
],
"required": ["host"],
"additionalProperties": false,
"allOf": [
{
@@ -80,10 +78,7 @@
{
"properties": {
"scheme": {
"enum": [
"http",
"https"
]
"enum": ["http", "https"]
}
}
},
@@ -171,9 +166,7 @@
"not": true
}
},
"required": [
"port"
]
"required": ["port"]
}
},
{
@@ -198,4 +191,4 @@
}
},
"additionalProperties": false
}
}