This is a complete demo of 2 different cookie security techniques:
- Cookie jar - NGINX Plus stores new cookies in the key-value store and issues the client an opaque reference to access them
- Signed cookies - NGINX creates signatures for all new cookies and validates that presented cookies match the signature
Requires NGINX Plus with JavaScript module (njs 0.5.1+)