Files
neural-hunt/V4.2.4_VPN_ADMIN_COOKIE_FIX.md
jbergner 1f61989c2d
All checks were successful
release-tag / release-image (push) Successful in 4m39s
RC-9
2026-08-11 19:41:59 +02:00

774 B
Raw Permalink Blame History

V4.2.4 VPN Admin Cookie Fix

The public customer portal and the private Customer-Service admin UI now have independent cookie security modes.

Recommended deployment:

# Game admin on VPN/direct HTTP; automatically Secure when placed behind HTTPS.
ADMIN_COOKIE_SECURE=auto

# Public portal remains HTTPS-only.
CS_COOKIE_SECURE=true

# Customer-Service admin on VPN/direct HTTP; automatically Secure behind HTTPS.
CS_ADMIN_COOKIE_SECURE=auto

auto detects TLS or X-Forwarded-Proto: https. A direct HTTP connection through an encrypted VPN therefore receives a non-Secure HttpOnly admin cookie, while an HTTPS reverse proxy receives a Secure cookie.

The public customer session remains independent and HTTPS-only. HSTS is emitted only on HTTPS requests.