Temp: add debug headers route to diagnose ProxyFix scheme detection
Test backoffice (smb-crm) / test (push) Successful in 1m32s

Will be removed once the proto-forwarding issue is diagnosed.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-12 00:03:20 +02:00
parent 4ad87ffaaf
commit 6ec16b0afa
+5
View File
@@ -84,6 +84,11 @@ def rows_json(rows):
return [{k: jsonable(v) for k, v in r.items()} for r in rows] return [{k: jsonable(v) for k, v in r.items()} for r in rows]
@app.get("/owner/_debug_headers")
def _debug_headers():
return jsonify({"scheme": request.scheme, "headers": dict(request.headers)})
@app.get("/healthz") @app.get("/healthz")
def healthz(): def healthz():
try: try: