Installed nginx, passenger 4.0.17, node, rails 4 and ruby 2, git and all gems.
nginx config:
server {
listen 80;
server_name 162.243.1.111;
root /home/abachuk/myapp/public;
passenger_enabled on;
rails_env production;
}
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1828/nginx ```
what else is missing?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Make sure <code>/home/abachuk/myapp/public</code> is viewable to the public. <br> <br>What’s the output of <code>ls -l /home/abachuk/myapp/public</code>?
the output is. Made public folder (chmod -R 755) ‘public’ <br>drwxr-xr-x 9 abachuk abachuk 4096 Sep 11 11:36 app <br>drwxr-xr-x 2 abachuk abachuk 4096 Sep 11 11:36 bin <br>drwxr-xr-x 5 abachuk abachuk 4096 Sep 11 11:36 config <br>-rwxr-xr-x 1 abachuk abachuk 161 Sep 11 11:36 config.ru <br>drwxr-xr-x 3 abachuk abachuk 4096 Sep 12 02:11 db <br>-rwxr-xr-x 1 abachuk abachuk 1474 Sep 12 02:41 Gemfile <br>-rwxr-xr-x 1 abachuk abachuk 4622 Sep 12 02:53 Gemfile.lock <br>drwxr-xr-x 4 abachuk abachuk 4096 Sep 11 11:36 lib <br>drwxr-xr-x 2 abachuk abachuk 4096 Sep 11 11:36 log <br>drwxr-xr-x 3 abachuk abachuk 4096 Sep 11 11:36 public <br>-rwxr-xr-x 1 abachuk abachuk 256 Sep 11 11:36 Rakefile <br>-rwxr-xr-x 1 abachuk abachuk 24 Sep 11 11:36 README.md <br>-rwxr-xr-x 1 abachuk abachuk 478 Sep 11 11:36 README.rdoc <br>drwxr-xr-x 8 abachuk abachuk 4096 Sep 11 11:36 test <br>drwxr-xr-x 6 abachuk abachuk 4096 Sep 11 11:36 tmp <br>drwxr-xr-x 3 abachuk abachuk 4096 Sep 11 11:37 vendor
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.