passenger and nginx ssl conf

Posted by chief on Stack Overflow See other posts from Stack Overflow or by chief
Published on 2010-04-25T06:47:59Z Indexed on 2010/04/25 6:53 UTC
Read the original article Hit count: 161

Filed under:

I am having some trouble with the nginx https setting in the nginx.conf file.

 server {
    listen       443;
    server_name  domain.com;
    root   /path/current/public/;
    passenger_enabled on;
    rails_env production;

    ssl                  on;
    ssl_certificate      combined.crt;
    ssl_certificate_key  key;

When I attempt to open a page requiring https nginx throws a 404 error.

© Stack Overflow or respective owner

Related posts about ruby-on-rails