Is there a way to access images on my droplet from the web browser?

October 31, 2014 1.6k views

My droplet IP is 104.131.101.4, and I have chmod 777'd the file located at (and named) /home/brdstr/eff.txt

I am trying to access the file with this URL in the browser:
104.131.101.4/home/brdstr/eff.txt

This txt file of couse should be accessible in that directory if all files (including png and jpg) are accessible.

The droplet is running Ubuntu as well btw.

2 Answers

I would recommend installing a web server such as nginx or apache

that will allow you to serve files

This tutorial no longer works. The mysql package used in there is no longer available.

Have another answer? Share your knowledge.