Nginx and Unicorn Multiple Rails apps
Hello, I followed this guide and everything went smooth! https://www.digitalocean.com/community/tutorials/how-to-deploy-rails-apps-using-unicorn-and-nginx-on-centos-6-5 I got a rails app up and running with no problems. But I have spent a lot of time tiring to get multiple apps running with no success. I have tried to edit the TheApp/config/unicorn.rb for each app and /etc/nginx/conf.d/default.conf. Are there any examples of how these files should be setup for multiple apps? Also: When I run unicorn_rails -c config/unicorn.rb -D for the 2nd app i get the following error: /usr/local/rvm/gems/ruby-2.1.0/gems/unicorn-4.8.3/lib/unicorn/configurator.rb:75:in `read': No such file or directory @ rb_sysopen - config/unicorn.rb (Errno::ENOENT) Can anyone help please?