title: Java Application connecting to PostgreSQL through Nginx proxying SSL
body: <p>I have a java (spring) application running on Tomcat that needs to consume data from a Postgres DB that is proxied by a NGINX. Postgress doesn't use SSL and the connection from the java app to the NGINX should be over SSL. </p>
  
  <p>Is there a way to do that ?</p>