nginx / ngx_postgres
Upstream module that allows nginx to communicate directly with PostgreSQL database.
README file,
CHANGES file.
Download:
ngx_postgres-0.9
(SHA1: 803f87947ad123d8d6f4ad18f023bc39193f8054)
GitHub repository:
http://github.com/FRiCKLE/ngx_postgres/
Example configuration:
http {
upstream database {
postgres_server 127.0.0.1 dbname=test
user=monty password=some_pass;
}
server {
location / {
postgres_pass database;
postgres_query "select * from cats";
}
}
}
Copyright © 2009, FRiCKLE. All rights reserved.
