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!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
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.
Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.
