agentzh/rds-json-nginx-module — Issue #2: rds_json not triggering on RDS output from Postgres
Author: rjp
Created: 2011-12-01 13:32:56+00:00
State: open

Freshly compiled and installed ngx_openresty-1.0.10.21 running against Postgres 8.4 on Ubuntu Hardy.

location ~ /url/(?\d+) {
rds_json on;
rds_json_root url;

postgres_query GET "SELECT * FROM urls WHERE id=$num";
postgres_pass database;
postgres_output rds;
}

Result is always Content-Type: application/x-resty-dbd-stream. Where can I start looking to debug why this isn't triggering?