apps(osint): ADMIN_COOKIE_SECURE=1 and the 84ea0a17b1af build
osint-dashboard master 84ea0a17b1af (PR #51) makes the session cookie Secure when ADMIN_COOKIE_SECURE is truthy, because the tunnel's HTTP origin means Envoy never lets X-Forwarded-Proto through as https. Set the flag in the ConfigMap and pin the three app-image consumers to the rebuilt catalyst.
This commit is contained in:
parent
c073ec9308
commit
def2556ee7
4 changed files with 10 additions and 4 deletions
|
|
@ -51,6 +51,12 @@ data:
|
|||
NEWS_SCRAPE_INTERVAL_S: "10"
|
||||
NEWS_SCRAPE_RUN_ON_START: "1"
|
||||
|
||||
# ── auth (see README, Secret `osint-admin`) ──────────────────────────────
|
||||
# The Cloudflare tunnel origins at the Cilium Gateway on plain HTTP and Envoy
|
||||
# normalizes X-Forwarded-Proto to http, so app/auth.py's header inference can
|
||||
# never see https here: this flag is what puts `Secure` on the session cookie.
|
||||
ADMIN_COOKIE_SECURE: "1"
|
||||
|
||||
# ── news summarizer (analyst) — Nous Portal, free tier model ────────────
|
||||
NOUS_BASE_URL: https://inference-api.nousresearch.com/v1
|
||||
SUMMARY_MODEL: meituan/longcat-2.5:free
|
||||
|
|
|
|||
Loading…
Reference in a new issue