fix(server): honor X-Forwarded-Proto so daemon web UI auto-connects behind HTTPS reverse proxy (#1739)

* fix(server): honor forwarded proto for daemon web UI

* fix(server): configure trusted daemon proxies

* docs: document daemon web UI reverse proxy setup

* docs: consolidate web UI proxy guidance
This commit is contained in:
Mohamed Boudra
2026-06-26 13:26:50 +08:00
committed by GitHub
parent c5c2ace698
commit 8c3b709794
12 changed files with 325 additions and 3 deletions
@@ -45,6 +45,21 @@
}
]
},
"trustedProxies": {
"description": "Express trusted proxy setting for X-Forwarded-* headers. Defaults to [\"loopback\"]. Use true only when the final trusted proxy overwrites client-supplied forwarded headers.",
"anyOf": [
{
"type": "boolean",
"const": true
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
},
"mcp": {
"type": "object",
"properties": {
@@ -388,6 +403,19 @@
}
},
"additionalProperties": false
},
"webUi": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
},
"distDir": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false