Welcome! Log In Create A New Profile

Advanced

Nginx + SSL + Thin

August 08, 2012 09:37PM
Hello,

I am trying to configure my web app to receive SSL support. I have nginx with 2 server{} clauses, one for http and another (almost identical) for https. I have a thin upstream server at port 3000, which only gets redirected if a certain /subfolder is accessed.

I have the certificates in working order, I can access static content perfectly. I also have a proxy_pass directive for http://rails_upstream. I tried setting the https server to proxy_pass to https://rails_upstream but it gave a 500 error.

Is there anything else I need to configure so that the same thin server receives the https requests? Or do I need to configure another thin server specifically for https purposes?

Best regards,
SubjectAuthorPosted

Nginx + SSL + Thin

sergiocampamaAugust 08, 2012 09:37PM

Re: Nginx + SSL + Thin

Maxim DouninAugust 09, 2012 03:58AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 64
Record Number of Users: 5 on May 22, 2013
Record Number of Guests: 150 on May 22, 2013
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready