Session not clear

hi nginx

We running ROR + nginx + thin server our server everything http it’s
workinf fine. but when i configure https in my page session not cleared.
the
same setup using in apache session clear .

Thanks and Regards,
R.Karthik