OpenResty® Scalable Web Platform by Extending NGINX with Lua

OpenResty XRay

Advanced observability built for OpenResty and more


limited time offer

Request TRIAL today and receive a diagnostic REPORT
Learn more

Postgres Nginx Module

Yichun Zhang , 22 Jun 2011 (created 21 Jun 2011)

ngx_postgres is an upstream module that allows Nginx to communicate directly with PostgreSQL database.

Response is generated in RDS format, so it's compatible with Rds Json Nginx Module and Drizzle Nginx Module modules.

This module is not enabled by default, and you need to specify the --with-http_postgres_module option while building OpenResty. This Nginx module requires libpq to be installed into your system.

Project page: