Skip to content

Security: bind UI на 127.0.0.1, trust proxy + secure-cookie

Иван Шишкин requested to merge security/server-hardening into main

H2/M5/M2 hardening боевого UI-сервера:

  • app.listen на 127.0.0.1 — UI недоступен в обход nginx (M5)
  • app.set('trust proxy', 1) + cookie.secure — сессия только по HTTPS (M2)

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com

Merge request reports