views:

24

answers:

0

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.