v0.24.5
This commit is contained in:
commit
5e23e9af02
240 files changed
+99957
No files matched your search
@@ -0,0 +1,159 @@
|
||||
{
|
||||
"listeners": {
|
||||
"endpoints": [
|
||||
{
|
||||
"id": "example-1-http",
|
||||
"name": "example-1 HTTP",
|
||||
"scope": "internal",
|
||||
"enabled": true,
|
||||
"binding": {
|
||||
"address": "127.0.0.1:8080",
|
||||
"tls": false,
|
||||
"http2": false,
|
||||
"http3": null
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"server_header": {
|
||||
"mode": "custom",
|
||||
"value": "RustProxy/v0.5.0"
|
||||
},
|
||||
"compression": {
|
||||
"gzip": true,
|
||||
"br": true,
|
||||
"zstd": true,
|
||||
"deflate": false,
|
||||
"min_bytes": 1024
|
||||
},
|
||||
"cache": {
|
||||
"enabled": true,
|
||||
"max_bytes": 268435456,
|
||||
"max_object_bytes": 16777216,
|
||||
"max_entries": 4096,
|
||||
"transient_max_bytes": 67108864,
|
||||
"cold_queue_max_bytes": 33554432,
|
||||
"hot_eviction_max_objects": 64,
|
||||
"default_ttl_seconds": 0,
|
||||
"max_ttl_seconds": 86400,
|
||||
"bypass_query": false,
|
||||
"bypass_prefixes": [
|
||||
"/private"
|
||||
],
|
||||
"expose_status": true,
|
||||
"expose_hits": true,
|
||||
"expose_cache_status": true
|
||||
},
|
||||
"headers": {
|
||||
"request": [],
|
||||
"response": [
|
||||
{
|
||||
"op": "remove",
|
||||
"name": "x-powered-by"
|
||||
},
|
||||
{
|
||||
"op": "set",
|
||||
"name": "x-served-by",
|
||||
"value": "RustProxy"
|
||||
}
|
||||
]
|
||||
},
|
||||
"vhosts": [
|
||||
{
|
||||
"id": "example-1",
|
||||
"frontend": {
|
||||
"hosts": [
|
||||
"localhost"
|
||||
],
|
||||
"listener_ids": [
|
||||
"example-1-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": "demo",
|
||||
"path_prefix": "/",
|
||||
"backend_id": "demo",
|
||||
"enabled": true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "example-2",
|
||||
"frontend": {
|
||||
"hosts": [
|
||||
"127.0.0.1"
|
||||
],
|
||||
"listener_ids": [
|
||||
"example-1-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": "demo",
|
||||
"path_prefix": "/",
|
||||
"backend_id": "demo",
|
||||
"enabled": true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "example-3",
|
||||
"frontend": {
|
||||
"hosts": [
|
||||
"demo.localhost"
|
||||
],
|
||||
"listener_ids": [
|
||||
"example-1-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": "demo",
|
||||
"path_prefix": "/",
|
||||
"backend_id": "demo",
|
||||
"enabled": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user