v0.40.0
This commit is contained in:
1 parent
3b5fc8dce1
commit
748fe1d146
23 files changed
+2901
-40
No files matched your search
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"headless": {
|
||||
"watch": true,
|
||||
"acme": {
|
||||
"email": "ops@example.com",
|
||||
"agree_tos": true,
|
||||
"staging": false,
|
||||
"auto": true,
|
||||
"domains": [
|
||||
["app.example.com", "www.app.example.com"]
|
||||
]
|
||||
}
|
||||
},
|
||||
"vhosts": [
|
||||
{
|
||||
"id": "app",
|
||||
"force_ssl": true,
|
||||
"websockets": true,
|
||||
"forward_client_ip": true,
|
||||
"frontend": { "hosts": ["app.example.com", "www.app.example.com"] },
|
||||
"backends": [
|
||||
{ "id": "app-1", "url": "http://10.0.0.11:3001", "allow_private": true },
|
||||
{ "id": "app-2", "url": "http://10.0.0.12:3001", "allow_private": true }
|
||||
],
|
||||
"load_balancing": {
|
||||
"algorithm": "least_connections",
|
||||
"health_check": { "mode": "http", "path": "/health", "interval_ms": 5000, "timeout_ms": 2000, "fall": 2, "rise": 1 },
|
||||
"passive_health": { "enabled": true }
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "api",
|
||||
"force_ssl": true,
|
||||
"frontend": { "hosts": ["api.example.com"] },
|
||||
"backends": [
|
||||
{ "id": "api-1", "url": "http://10.0.0.21:8080", "allow_private": true, "max_concurrent_requests": 200, "queue_timeout_ms": 2000 }
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user