Question

Serving up subdirectory when Ghost is already installed on Ubuntu

Posted February 6, 2014 2.9k views
I think I am just missing a key config update here.. But what I am trying to do is set up a subdirectory on my Droplet to serve up some static HTML/CSS files.. I already have Ghost running on var/www and I installed it as part of the Droplet install. How can I configure a subdirectory to also run on Apache or at least let me display the contents of the directory? I tried to add a virtual host but that didn't do the trick..

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.

×
1 answer
Are you using the Ghost application, or did you install it yourself? If you're using the application, that uses nginx as its web server, not Apache. This tutorial should point you in the right direction for setting up virtual hosts with nginx:

https://www.digitalocean.com/community/articles/how-to-set-up-nginx-virtual-hosts-server-blocks-on-ubuntu-12-04-lts--3
Submit an Answer