(111: Connection refused) while connecting to upstream - Opsworks Rails 4
Solution 1:
Make sure /srv/www/app/shared/sockets/unicorn.sock
has correct rights for the user nginx's worker processes are running with (www-data
in your case).
Make sure /srv/www/app/shared/sockets/unicorn.sock
has correct rights for the user nginx's worker processes are running with (www-data
in your case).