Limit req: don't truncate key value to 255 bytes. While the module allows to use values up to 65535 bytes as a key, that actually never worked properly.
diff --git a/src/http/modules/ngx_http_limit_req_module.c b/src/http/modules/ngx_http_limit_req_module.c index 74f7fda..27d7b30 100644 --- a/src/http/modules/ngx_http_limit_req_module.c +++ b/src/http/modules/ngx_http_limit_req_module.c
@@ -461,7 +461,7 @@ lr = (ngx_http_limit_req_node_t *) &node->color; - lr->len = (u_char) len; + lr->len = (u_short) len; lr->excess = 0; ngx_memcpy(lr->data, data, len);