Diagnosis done: Caddy wasn't forwarding X-Forwarded-Proto at all, fixed on the Caddy side (header_up in the smb_crm_fwd snippet), not a Flask/ProxyFix issue. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -84,11 +84,6 @@ 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:
|
||||||
|
|||||||
Reference in New Issue
Block a user