Fix · Caddy
Fix “Cookie hygiene” on Caddy
Set every session cookie with: HttpOnly; Secure; SameSite=Lax
# Set flags in your app when issuing the session cookie.
Verify the fix
Re-run the Cookie hygiene check after deploying. Test config changes in staging first and keep a rollback: a wrong header can break a site faster than a missing one.
Other stacks: nginx · Apache · Express / Node · Cloudflare