refactor to use redis_nginx_adapter
set NGX_HTTP_* constants removed on nginx 1.3.2+