NGINX TLS termination for PostgreSQL
问题 I’ve been trying to use NGINX as a TLS terminator for my PostgreSQL database but without success. When I try to connect to the database I get the following error: server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request. When I remove the ssl option in listen I can connect without any errors. I’ve tried running another service(Eclipse Mosquitto) with the same NGINX settings, TLS enabled, and it works fine. I’m using