Re: nginx for Postgres servers

2015-07-14 Thread Roman Arutyunyan
Hello Tom, If you want to proxy PostgreSQL connections with nginx, you can use the stream (tcp) proxy for this. Obviously, it will not keep a persistent connection to the database server, but will open a new connection for each client. http://nginx.org/en/docs/stream/ngx_stream_core_module.html

Re: nginx for Postgres servers

2015-07-14 Thread Miguel Clara
You mean something like: https://github.com/FRiCKLE/ngx_postgres ? On July 14, 2015 9:47:01 PM GMT+01:00, Tom Ekberg wrote: >I know nginx is designed to handle web and mail servers. Does it make >sense to use to handle multiple (in our case 2) PostgreSQL database >servers? > >Tom Ekberg >Senior

nginx for Postgres servers

2015-07-14 Thread Tom Ekberg
I know nginx is designed to handle web and mail servers. Does it make sense to use to handle multiple (in our case 2) PostgreSQL database servers? Tom Ekberg Senior Computer Specialist, Lab Medicine University of Washington Medical Center 1959 NE Pacific St, MS 357110 Seattle WA 98195 work: (206