Getting an "Welcome to nginx!" page instead of loomio
Hello,
Some month ago, I managed to install loomio on the development machine by changing the Gemfile this way:
Changed ruby version to 2.2.2
Added
gem 'minitest'
gem 'test-unit'
gem 'eventmachine', '~> 1.0.7'
to the first section of the file. Then it worked without errors. The loomio homepage looked fine on the development machine.
My plan is to install loomio on a physical server behind an ordinary ISP router.
Now, I am testing the installation the production server in a virtualized environment where I have a firewall OS instance (Zentyal) instead of the router and another OS as the loomio production server behind it in its virtual LAN network. Port forwarding of port 22, 2000 (for a moment) and port 80. The typical stuff.
As the canonical host name I used what would correspond to the non-virtualized WAN name of the router. For the testing, it became zentyal.domainname.tld in the virtualized environment.
The test installation of the production server went without errors, but only an unconfigured nginx homepage came up.
Best Regards
Robert Guthrie · Tue 14 Jul 2015 10:35PM
Sorry but there really isn't enough information here for me to help you. It does not sound like anything Loomio specific either.. this is a "How to run a rails app in nginx" problem. I really hope you find out what is going wrong, but I don't think I can support your case.
I would recommend you follow the Setup loomio in prodcuction wiki which recommends using Dokku to manage everything - then you won't have any nginx config issues to worry about. It's supposing you're using a VPS but that won't make much difference.
Also please feel free to leave feelback on that wiki page here if you can.