From version 1.23.0 Nginx changed internal API: header lines are represented as linked lists. r->headers_in.cookies has been renamed to r->headers_in.cookie As described in this commit: https://github.com/nginx/nginx/commit/3aef1d693f3cc431563a7e6a6aba6a34e5290f03