Mongrel_cluster + PHP + SSL with nginx

Hi ,

         We are running Ruby on Rails application (Mongrel_cluster)

with nginx, we tried to install PHP application in same server but the
proxy_pass not redirected. in https

How to configure mongrel_cluster + PHP + SSL with nginx same server and
same domain

when i tried https://localhost/phpapplicaion/index.php it’s asking
download index.php , but the same configuration without https it’s
working fine.

I tried but not redirect to php applicaion only for https,

Thanks
Karthik