70 lines
1.4 KiB
JSON
70 lines
1.4 KiB
JSON
{
|
|
"listeners": {
|
|
"endpoints": [
|
|
{
|
|
"id": "private-http",
|
|
"name": "Private applications",
|
|
"scope": "internal",
|
|
"enabled": true,
|
|
"binding": {
|
|
"address": "127.0.0.2:8181",
|
|
"tls": false,
|
|
"http2": false
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"vhosts": [
|
|
{
|
|
"id": "tinyauth-app",
|
|
"frontend": {
|
|
"hosts": [
|
|
"app.localhost"
|
|
],
|
|
"listener_ids": [
|
|
"private-http"
|
|
]
|
|
},
|
|
"backends": [
|
|
{
|
|
"id": "origin-a",
|
|
"url": "http://127.0.0.1:9001",
|
|
"allow_private": true
|
|
}
|
|
],
|
|
"load_balancing": {
|
|
"health_check": {
|
|
"mode": "off"
|
|
}
|
|
},
|
|
"cache": {
|
|
"enabled": true,
|
|
"expose_status": true,
|
|
"expose_hits": true
|
|
},
|
|
"server_header": {
|
|
"mode": "custom",
|
|
"value": "RustProxy/v0.5.0"
|
|
},
|
|
"diagnostic_headers": {
|
|
"request_id": false
|
|
},
|
|
"tinyauth": {
|
|
"enabled": true,
|
|
"url": "http://10.87.7.99:3000",
|
|
"login_url": "https://auth.linuxiarz.pl/login",
|
|
"allow_private": true,
|
|
"address_allowlist": [
|
|
"10.87.7.99/32"
|
|
],
|
|
"connect_timeout_seconds": 5,
|
|
"timeout_seconds": 10,
|
|
"response_headers": [
|
|
"remote-user",
|
|
"remote-email"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|