13

SSL on nginx + unicorn got "Error 102 (net::ERR_CONNECTION_REFUSED)"

view full story
linux-howto

http://serverfault.com – I tried to deploy my app on EC2 (opened port: 22, 80, 443) App: Rails 3.2.2 Server: nginx 1.2.1 unicorn gem (latest) ubuntu 12.04 Deployer: Capistrano I tried to follow the instruction in Railscasts : http://railscasts.com/episodes/335-deploying-to-a-vps (Sorry, it's a Pro Episode) Anything fine with normal port 80 http but i got Error 102 after trying to use SSL, here is the nginx.conf content: upstream unicorn { server unix:/tmp/unicorn.appname.sock fail_timeout=0; } server { server_name domain.com; listen 443 default; root /home/deployer/apps/ (HowTos)