Welcome to HowToShipIt — practical how-to guides for developers: code, AI tools, and servers, explained step by step.

The Nginx Sticky Directive Is Free Now: How to Set Up Sticky Sessions (2026)

Nginx sticky directive: cookie-based session affinity keeping clients on the same backend server

Session affinity used to cost money. Not any more. For years, the nginx sticky directive sat behind a paywall. If you wanted cookie-based session affinity — requests from one client consistently landing on the same backend server — you either paid for NGINX Plus or compiled a third-party module from source. Then, on 10 March … Read more