Setup SSL for nginx

hi team,
Please let me know the exact/right procedure to setup the SSL for nginx. I did it the way I knew , but interested in knowing if there is any other methods.