How do I host a conventional page using nginx alongside the Ghost 0.5.2 on Ubuntu 14.04 Droplet

I’ve used the Ghost 0.5.2 on 14.04 Droplet to get a Ghost blog running, and everything is working well. I had previously set up on a different Droplet a LAMP stack and had successfully installed things like TT-RSS.

I’m looking to now do the same on the Ghost 0.5.2 on 14.04 Droplet - and I believe it has something to do with nginx server blocks? But even if I try to set up a test in sites-available and navigate to a test IP/test/index.html the Ghost installation still catches it and displays the Ghost 404.

Pretty sure I’m missing something basic - or am misunderstanding the nginx server block system. I found some guides in the /etc/nginx/sites-available/default file and have been reading through them.

Is this at least the correct direction?

Submit an answer

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!

Sign In or Sign Up to Answer

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.

You can set up multiple apps on your Ghost by creating a server block for each app/site: How To Set Up Nginx Server Blocks (Virtual Hosts) on Ubuntu 14.04 LTS | DigitalOcean.

You’ll probably need to install php and MySQL for TT-RSS: How To Install Linux, nginx, MySQL, PHP (LEMP) stack on Ubuntu 14.04 | DigitalOcean.