53 lines
935 B
JSON
53 lines
935 B
JSON
{
|
|
"vhosts": [
|
|
{
|
|
"id": "demo",
|
|
"frontend": {
|
|
"hosts": [
|
|
"localhost",
|
|
"127.0.0.1",
|
|
"demo.localhost"
|
|
],
|
|
"listener_ids": [
|
|
"demo-http"
|
|
]
|
|
},
|
|
"backends": [
|
|
{
|
|
"id": "demo",
|
|
"url": "http://127.0.0.1:9000",
|
|
"allow_private": true,
|
|
"preserve_host": true
|
|
}
|
|
],
|
|
"load_balancing": {
|
|
"health_check": {
|
|
"mode": "off"
|
|
}
|
|
},
|
|
"routes": [
|
|
{
|
|
"id": "root",
|
|
"path_prefix": "/"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"listeners": {
|
|
"endpoints": [
|
|
{
|
|
"id": "demo-http",
|
|
"name": "demo HTTP",
|
|
"scope": "internal",
|
|
"enabled": true,
|
|
"binding": {
|
|
"address": "127.0.0.1:8080",
|
|
"tls": false,
|
|
"http2": false,
|
|
"http3": null
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|