Skip to content

Instantly share code, notes, and snippets.

View nabilashraf's full-sized avatar
👨‍💻
Coding

Nabil Ashraf nabilashraf

👨‍💻
Coding
View GitHub Profile
@molomby
molomby / Keystone 5 - Secure Cookies and Reverse Proxies.md
Created March 31, 2020 05:52
Background and instructions for fixing cookie issues encountered when deploying Keystone 5 apps behind a reverse proxy (like nginx)

Keystone 5: Secure Cookies and Reverse Proxies

Can't sign in, eh?

TL;DR

When...

  • Keystone sessions are being used (eg. for authentication)
  • secureCookies Keystone config is true (the default when NODE_ENV is 'production')