SSL/NGINX elasticsearch transport client

I want to add SSL when connecting my transport client to elasticsearch. I'm using NGINX plugin.
Have any one worked in a similar context or can give me some ideas.
Thanks